Cargo Features
[dependencies]
lru = { version = "0.12.5", default-features = false, features = ["nightly"] }
- default = hashbrown
-
The
hashbrown
feature is set by default wheneverlru
is added without
somewhere in the dependency tree.default-features = false - nightly = hashbrown
-
hashbrown:
Enables use of nightly features. This is only guaranteed to work on the latest version of nightly Rust.
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.