Cargo Features
[dependencies]
rust_cache = { version = "0.3.0", default-features = false, features = ["all", "filesystem", "redis_integration", "hash_map"] }
- default = hash_map
-
The
hash_map
feature is set by default wheneverrust_cache
is added without
somewhere in the dependency tree.default-features = false - all = filesystem, hash_map, redis_integration
- filesystem all? = rust-crypto
-
Affects
rust_cache::filesystem
… - redis_integration all? = redis
-
Affects
rust_cache::redis
… - hash_map default all?
-
Affects
rust_cache::hash_map
…
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.