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 whenever http-mitm-proxy is added without default-features = false somewhere in the dependency tree.

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 = true

Enables native-tls and tokio-native-tls

Affects http-mitm-proxy::default_client

rustls-client

Enables webpki-roots

Affects http-mitm-proxy::default_client