Cargo Features
Humphrey has no features set by default.
[dependencies]
humphrey = { version = "0.7.0", features = ["tls", "tokio"] }
- tls = rustls, rustls-native-certs, rustls-pemfile
- tokio = futures, tokio-rustls
-
Enables tokio
Affects
humphrey::tokio
,tests::request_tokio
…
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.
- futures tokio?
- rustls tls?
-
Enables rustls ^0.21.0
- rustls-native-certs tls?
-
Enables rustls-native-certs ^0.6.1
- rustls-pemfile tls?
-
Enables rustls-pemfile ^0.2.1
- tokio-rustls tokio?
-
Enables tokio-rustls ^0.24.1