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 default-features = false somewhere in the dependency tree.

manager-cacache default = bincode, cacache

Affects managers::cacache

cacache-tokio

Enables tokio-runtime of cacache

cacache-async-std default

Enables async-std of cacache

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.

bincode manager-cacache manager-moka?
cacache cacache-async-std cacache-tokio? manager-cacache
http-types with-http-types?
moka manager-moka?