Cargo Features
[dependencies]
users = { version = "0.11.0", default-features = false, features = ["cache", "logging", "mock"] }
- default = cache, logging, mock
-
These default features are set whenever
users
is added without
somewhere in the dependency tree.default-features = false - cache default
-
Affects
users::cache
… - logging default = log
- mock default
-
Affects
users::mock
…
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.