Cargo Features
mio_httpc has no features set by default.
[dependencies]
mio_httpc = { version = "0.10.6", features = ["native", "rtls", "openssl"] }
- default
-
Default does not work for https.
- native = crypto-hash, native-tls
-
Affects
tls_api::native
… - rtls = ring, rustls, rustls-pemfile, 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.
- crypto-hash native?
- native-tls native?
- openssl implicit feature
-
Enables openssl
openssl:
OpenSSL bindings
Affects
tls_api::openssl
… - ring rtls?
- rustls rtls?
-
Affects
tls_api::rustls
… - rustls-pemfile rtls?
- webpki rtls?
- webpki-roots rtls?