Cargo Features
[dependencies]
month = { version = "0.3.0", default-features = false, features = ["with-chrono", "with-num-traits", "with-serde"] }
- default = with-chrono
-
The
with-chrono
feature is set by default whenevermonth
is added without
somewhere in the dependency tree.default-features = false - with-chrono default = chrono
- with-num-traits = num-traits
- with-serde = serde
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.