Cargo Features
[dependencies]
httpclienty = { version = "0.1.1", default-features = false, features = ["tls", "http2", "server"] }
- default = http2, server, tls
-
These default features are set whenever
httpclienty
is added without
somewhere in the dependency tree.default-features = false - tls default = rustls-native-certs, tokio-rustls
-
Affects
httpclienty::HTTPClientState
,httpclienty::get_http_client_state
… - http2 default
-
Enables http2 of hyper and hyper-util
- server default
-
Enables server of hyper, server and server-auto of hyper-util
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.