Cargo Features
[dependencies]
dodo = { version = "0.3.1", default-features = false, features = ["derive", "directory", "directory_locks", "json", "yaml"] }
- default = derive, directory, json
-
These default features are set whenever
dodo
is added without
somewhere in the dependency tree.default-features = false - derive default = dodo-derive
- directory default directory_locks?
- directory_locks = directory, fs2
-
Affects
directory::LockedDirectory
,directory::LockedFileReader
,directory::LockedFileWriter
… - json default = serde_json
- yaml = serde_yaml
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.