Cargo Features
[dependencies]
http_req = { version = "0.13.0", default-features = false, features = ["rust-tls", "native-tls"] }
- default = native-tls
-
The
native-tls
feature is set by default wheneverhttp_req
is added without
somewhere in the dependency tree.default-features = false - rust-tls = rustls, rustls-pemfile, rustls-pki-types, webpki, webpki-roots
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.