-
-
Notifications
You must be signed in to change notification settings - Fork 862
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
refactor!: use rustls instead of native-tls #4901
Conversation
11e9d7a
to
b9eee1e
Compare
… into remove_openssl_dess
Even after this its still getting:
|
Line 124 in ba044c7
|
There may be other libraries using reqwest that do not enable the rustls-tls feature. https://github.com/kwaa/lemmy/blob/854fee98e9f7481e0abebbc7405b271f8e7a4080/Cargo.lock#L4661 |
This may be due to the https://github.com/timmarinin/webmention/blob/main/Cargo.toml#L17 |
I'll do a PR there, but according to cargo tree above, there's a lot more that require it for some reason, including our own deps even (which I don't understand why). |
This should just be because they use the same version and openssl will be installed as long as one of them doesn't disable the default features. |
@Nutomic I tried to look up how workspace dependencies work, and tried to add Apparently workspace dep features are additive only, so none of them should require the full features of reqwest, so I don't know why all our lemmy crates are requiring openssl. |
Run |
That did it, thx! Okay this is ready to merge now (as long as tests pass). I guess the messy cargo trees just had to do with circulare dependencies. |
We shouldnt merge any git dependencies as that will break cargo publish which is part of ci. |
Oops.. I'll just do a PR to change that one dependency back, and once @timmarinin merges my webmention PR, this will be handled. |
Part of #4900