Cargo Features
[dependencies]
json_io = { version = "0.3.0", default-features = false, features = ["rustc_serialization", "serde_serialization"] }
- default = serde_serialization
-
The
serde_serialization
feature is set by default wheneverjson_io
is added without
somewhere in the dependency tree.default-features = false - rustc_serialization = rustc-serialize
- serde_serialization default = serde, serde_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.