Cargo Features
[dependencies]
cargo-unmaintained = { version = "1.5.0", default-features = false, features = ["cache-repositories", "on-disk-cache", "lock-index"] }
- default = lock-index, on-disk-cache
-
These default features are set whenever
cargo-unmaintained
is added without
somewhere in the dependency tree.default-features = false - cache-repositories = on-disk-cache
- on-disk-cache default cache-repositories?
- lock-index default = libc, windows-sys
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.
- libc unix lock-index
- windows-sys win lock-index