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 whenever tower_type_steer is added without default-features = false somewhere in the dependency tree.

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 and alloc features is not supported yet.