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

Make rustls-tls an optional feature for reqwest. #16

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

justinmir
Copy link
Contributor

rustls-tls includes a dependency that has a license considered
copyleft (MPL-2.0). To make this library more sound to use under the
MIT license, make rustls-tls an optional feature. This removes the
ability to specify client certs when the rustls-tls feature is
disabled. However, tls is enabled with reqwests defaults by default.

rustls-tls includes a dependency that has a license considered
copyleft (MPL-2.0). To make this library more sound to use under the
MIT license, make rustls-tls an optional feature. This removes the
ability to specify client certs when the `rustls-tls` feature is
disabled. However, tls is enabled with reqwests defaults by default.
@justinmir
Copy link
Contributor Author

Appreciate the prompt review on the other two changes! This PR still depends on the old rustify version which uses the MPL-2.0 dependency by default. I can make it point at the rustify git directly or can update once there is a new version on crates-io if that is preferred.

Copy link

@gabi-250 gabi-250 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I realize this is an old PR, but I left a few comments just in case there's any intention to merge it)

Can we add add the option to choose between native TLS and rustls for the rustify dependency as well?

Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
glittershark and others added 3 commits February 22, 2023 09:34
Co-authored-by: Gabi Moldovan <[email protected]>
Co-authored-by: Gabi Moldovan <[email protected]>
Co-authored-by: Gabi Moldovan <[email protected]>
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.

3 participants