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

Disable default-features of reqwest #600

Closed
wants to merge 1 commit into from

Conversation

jkylling
Copy link

What changes are proposed in this pull request?

Reqwest is part of default-engine, so is included by default by engines. This enables reqwest with default features, which will include a dependency on openssl. Having a dependency on openssl requires some system libraries to be present in the runtime environment, so it's better to have it be optional.

How was this change tested?

reqwest is part of default-engine, so is included by default by engines. This enables reqwest with default features, which will include a dependency on openssl. Having a dependency on openssl requires some system libraries to be present in the runtime environment, so it's better to have it be optional.
@zachschuermann
Copy link
Collaborator

hi @jkylling thanks for opening this! I think we had a very similar issue and to resolve it I've got a PR up to remove default-features and let us pull in rustls instead of relying on openssl/system libs: #572

with that PR instead of using default-engine, you'll instead use default-engine-rustls. Let me know if that's what you're looking for!

@jkylling
Copy link
Author

Thank you! I'll close this one in favour of #572

@jkylling jkylling closed this Dec 15, 2024
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

Successfully merging this pull request may close these issues.

2 participants