Cargo Features
[dependencies]
http-mitm-proxy = { version = "0.14.0", default-features = false, features = ["native-tls-client", "rustls-client"] }
- default = native-tls-client
-
The
native-tls-client
feature is set by default wheneverhttp-mitm-proxy
is added without
somewhere in the dependency tree.default-features = false - native-tls-client default
-
You can choose one of the following TLS backends for DefaultClient.
Or you can drop DefaultClient with setting no-default-features = trueEnables native-tls and tokio-native-tls
Affects
http-mitm-proxy::default_client
… - rustls-client
-
Enables webpki-roots
Affects
http-mitm-proxy::default_client
…