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
Use reqwest w/ rusttls on Linux #1432
Comments
As a kind scoping question...how necessary is it for our unit tests to actually hit the network? Would an alternate approach here be to rework our unittests to use mocked-out network calls rather than depending on a live network connection? (I'm sure that would be a much bigger task, just want to understand the alternatives). |
Turns out our unit tests actually don't hit the network at all, I discovered that they are compiled with Viaduct support which doesn't get initialized in unit tests and still pass :) |
Alternately, we could consider making an iOS backend for viaduct, and then switch to using reqwest-with-rusttls on all desktop platforms (where it's only used for testing). |
We did what we wanted to do here, and the reqwest/native-tls-vendored feature allowed us to remove OpenSSL from our |
Here's how our SSL stacks look like currently:
tls> Secure Transport (OS)tls> Schannel (OS)tls> Secure Transport (OS)tls> OpenSSLIn order to get rid of OpenSSL completely, I'd like use to move
Android (Unit tests - Linux)
fromnative-tls
which pulls OpenSSL torustls
(SSL stack written in Rust).My plan was to add to viaduct's
Cargo.toml
something like this:But because of rust-lang/cargo#2524 we can't do that 🙁
┆Issue is synchronized with this Jira Task
┆Sprint: Backlog
The text was updated successfully, but these errors were encountered: