Cargo Features
[dependencies]
datetime = { version = "0.5.2", default-features = false, features = ["format", "parse"] }
- default = format, parse
-
These default features are set whenever
datetime
is added without
somewhere in the dependency tree.default-features = false - format default = locale, pad
-
Affects
fmt::custom
… - parse default = iso8601
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.