8000 allow rustls and disable native-tls? · Issue #82 · hatoo/http-mitm-proxy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

allow rustls and disable native-tls? #82

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

Open
tgrushka opened this issue Feb 27, 2025 · 2 comments
Open

allow rustls and disable native-tls? #82

tgrushka opened this issue Feb 27, 2025 · 2 comments

Comments

@tgrushka
Copy link

Thanks for this crate. I'm trying to build for Docker and can't because it depends on native-tls. I don't want to go down that whole rabbit hole of installing openssl in cargo cross just for this. Any way to remove or make native-tls an optional feature? Or is it absolutely required? Thanks.

@hatoo
Copy link
Owner
hatoo commented Feb 28, 2025

Currently, native-tls is used in DefaultClient because some sites use old algorithms which aren't supported by rustls.

Yeah, I think it should be able to switch to rustls by feature flags.

@hatoo
Copy link
Owner
hatoo commented Mar 1, 2025

I've published v0.13.0 which you can remove native-tls by using --no-default-feature --features "rustls-client"

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

No branches or pull requests

2 participants
0