Cargo Features
[dependencies]
restson = { version = "1.5.0", default-features = false, features = ["blocking", "lib-serde-json", "lib-simd-json", "native-tls", "rustls"] }
- default = blocking, lib-serde-json, native-tls
-
These default features are set whenever
restson
is added without
somewhere in the dependency tree.default-features = false - blocking default
-
Affects
restson::blocking
… - lib-serde-json default = serde, serde_json
- lib-simd-json = serde, serde_json, simd-json
- native-tls default = hyper-tls
- rustls = hyper-rustls
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.