Cargo Features
[dependencies]
toml-config = { version = "0.4.0", default-features = false, features = ["serde-serialization", "rustc-serialize"] }
- default = rustc-serialize
-
These default features are set whenever
toml-config
is added without
somewhere in the dependency tree.default-features = false Enables toml ^0.1
- serde-serialization = serde, serde_macros
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.
- rustc-serialize default
- serde serde-serialization?
-
Enables serde ^0.7
- serde_macros serde-serialization?
-
Enables serde_macros ^0.7