Cargo Features
[dependencies]
http-cache = { version = "0.20.0", default-features = false, features = ["manager-cacache", "cacache-tokio", "cacache-async-std", "manager-moka", "with-http-types"] }
- default = cacache-async-std, manager-cacache
-
These default features are set whenever
http-cache
is added without
somewhere in the dependency tree.default-features = false - manager-cacache default = bincode, cacache
-
Affects
managers::cacache
… - cacache-tokio
-
Enables tokio-runtime of cacache
- cacache-async-std default
- manager-moka = bincode, moka
-
Affects
managers::moka
… - with-http-types = http-types
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.