Cargo Features
[dependencies]
http-lib = { version = "0.1.0", default-features = false, features = ["tokio", "async-std", "rustls", "native-tls", "vendored"] }
- default = rustls, tokio
-
These default features are set whenever
http-lib
is added without
somewhere in the dependency tree.default-features = false - tokio default
-
Async runtime
Enables tokio
- async-std
-
Enables async-std
- rustls default
-
Rust crypto
- native-tls
-
Enables native-tls of ureq
- vendored