Cargo Features
[dependencies]
requests = { version = "0.0.30", default-features = false, features = ["ssl", "with_json"] }
- default = ssl, with_json
-
These default features are set whenever
requests
is added without
somewhere in the dependency tree.default-features = false - ssl default = hyper-native-tls
- with_json default = json
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.
- hyper-native-tls ssl
-
Enables hyper-native-tls ^0.2
- json with_json
-
Enables json ^0.11