Cargo Features
[dependencies]
cyper-core = { version = "0.2.0", default-features = false, features = ["all", "native-tls", "rustls", "client", "server", "http2", "nightly"] }
- default = native-tls
-
The
native-tls
feature is set by default whenevercyper-core
is added without
somewhere in the dependency tree.default-features = false - all = client, http2, native-tls, rustls, server
- native-tls default all?
-
Enables native-tls of compio
- rustls all?
-
Enables rustls-platform-verifier ^0.4.0, rustls of compio
- client all?
-
Enables tower-service, client-legacy and http1 of hyper-util
- server all?
-
Enables server-auto of hyper-util
- http2 all?
-
Enables http2 of hyper-util
- nightly
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.