Cargo Features
[dependencies]
mockito = { version = "1.7.2", default-features = false, features = ["color", "parking_lot"] }
- default = color, parking_lot
-
These default features are set whenever
mockitois added withoutsomewhere in the dependency tree.default-features = false - color default = colored
- parking_lot default
-
Enables parking_lot of tokio
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.