Cargo Features

[dependencies]
http-cache-reqwest = { version = "1.0.0-alpha.5", default-features = false, features = ["manager-cacache", "manager-moka", "manager-foyer", "streaming", "rate-limiting", "url-standard", "url-ada", "http-headers-compat", "manager-cacache-bincode", "manager-moka-bincode"] }
default = manager-cacache, url-standard

These default features are set whenever http-cache-reqwest is added without default-features = false somewhere in the dependency tree.

manager-cacache default

Enables manager-cacache of http-cache

manager-moka

Enables manager-moka of http-cache

manager-foyer

Enables manager-foyer of http-cache

streaming = futures-util

Enables reqwest, streaming of http-cache

Affects http-cache-reqwest::ReqwestStreamingError, http-cache-reqwest::StreamingCache

rate-limiting

Enables rate-limiting of http-cache

url-standard default

Enables url-standard of http-cache

url-ada

Enables url-ada of http-cache

http-headers-compat

Enables http-headers-compat of http-cache

manager-cacache-bincode

Enables manager-cacache-bincode of http-cache

http-cache:

Legacy bincode features (deprecated - will be removed in next major version)
bincode is unmaintained per RUSTSEC-2025-0141

manager-moka-bincode

Enables manager-moka-bincode of http-cache

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.

futures-util streaming?

Enables futures-util

Optional dependencies for streaming feature