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

Adding default-tls and rustls-tls features #44

Merged
merged 5 commits into from
Jul 17, 2024

Conversation

rafaga
Copy link
Contributor

@rafaga rafaga commented Jul 12, 2024

I'm creating two features:

default-tls: uses OpenSSL as the reqwest backend to send and recieve all requests. Enabled by default (this was the default behavior until now).

rustls-tls: Uses rustls as the reqwest backend to send and recieve all requests.

adding a small validation top avoid enabling both features at the same time (this could me better in a more elegant way, but for now its Ok)

Reason to do this: Avoid using unsafe code.

@rafaga rafaga requested a review from Celeo as a code owner July 12, 2024 00:54
@rafaga
Copy link
Contributor Author

rafaga commented Jul 12, 2024

don't merge .. yet. more work needs to be done before merge

@rafaga
Copy link
Contributor Author

rafaga commented Jul 17, 2024

OK to merge @Celeo

@Celeo
Copy link
Owner

Celeo commented Jul 17, 2024

Sounds good! I made some small changes; no affect on the actual implementation details.

Thanks for the work!

@Celeo Celeo merged commit 6001b83 into Celeo:master Jul 17, 2024
@Celeo
Copy link
Owner

Celeo commented Jul 17, 2024

@rafaga rafaga deleted the rustls-feature branch July 17, 2024 14:50
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