Cargo Features
[dependencies]
tower_type_steer = { version = "0.1.0", default-features = false, features = ["json", "serde", "serde_json"] }
- default = json
-
The
json
feature is set by default whenevertower_type_steer
is added without
somewhere in the dependency tree.default-features = false - json default = serde, serde_json
- serde json
-
Enables serde
Affects
tower_type_steer::serde_conv
… - serde_json json
-
Enables alloc of serde_json
serde_json:
Provide integration for heap-allocated collections without depending on the rest of the Rust standard library. NOTE: Disabling both
std
andalloc
features is not supported yet.