Cargo Features
[dependencies]
koit-toml = { version = "0.2.1", default-features = false, features = ["file-backend", "json-format", "bincode-format", "toml-format"] }
- default = bincode-format, file-backend, json-format, toml-format
-
These default features are set whenever
koit-toml
is added without
somewhere in the dependency tree.default-features = false - file-backend default
-
Affects
koit-toml::FileDatabase
… - json-format default = serde, serde_json
- bincode-format default = bincode, serde
- toml-format default = serde, toml
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.