Cargo Features
[dependencies]
wmi = { version = "0.14.2", default-features = false, features = ["test", "time", "chrono"] }
- default = chrono
-
The
chrono
feature is set by default wheneverwmi
is added without
somewhere in the dependency tree.default-features = false - test
-
Use { default-features = false, features = ["time"] } to use
time
instead ofchrono
.For use in documentation tests
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.