Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-exporting dependancies #79

Open
watsom27 opened this issue Jan 1, 2022 · 3 comments
Open

Re-exporting dependancies #79

watsom27 opened this issue Jan 1, 2022 · 3 comments

Comments

@watsom27
Copy link

watsom27 commented Jan 1, 2022

Hi,

Since this library depends on specific versions of Hmac and Sha2, please could you look into re-exporting them from the crate?

Getting this library up and running was a pain in the butt because I had to downgrade these two libraries, causing issues elsewhere in the codebase.

Thanks

@mikkyang
Copy link
Owner

mikkyang commented Jan 8, 2022

Hi,

Thanks for flagging this pain point. Let me catch up on what the best way to do this is, I'm a bit out of date on best practices.

@watsom27
Copy link
Author

Thanks, appreciate it

@mvolfik
Copy link

mvolfik commented Jun 5, 2022

I wanted to use this crate with openssl (to use a private key), but turns out I can't specify the type of PKeyWithDigest, because it needs a parameter Private, which isn't exported by jwt

Warp solves this by simply re-exporting dependencies as pub use <dep>: https://docs.rs/warp/0.3.2/src/warp/lib.rs.html#171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants