Cargo Features
[dependencies]
http-global-cache = { version = "0.1.5", default-features = false, features = ["cache_request", "cache", "cache_mem", "http-cache-semantics", "http-cache", "http", "moka"] }
- default = cache, cache_request
-
These default features are set whenever
http-global-cacheis added withoutsomewhere in the dependency tree.default-features = false - cache_request default cache cache_mem?
-
Enables http-cache-reqwest ^0.15
- cache default = cache_request
-
Enables manager-cacache of http-cache-reqwest ^0.15
- cache_mem = cache_request
-
Enables manager-moka of http-cache-reqwest ^0.15
Features from optional dependencies
- http-cache-semantics implicit feature
-
Enables http-cache-semantics ^2
http-cache-semantics:
RFC 7234. Parses HTTP headers to correctly compute cacheability of responses, even in complex cases
- http-cache implicit feature
-
Enables http-cache ^0.20
http-cache:
An HTTP caching middleware
- http implicit feature
-
Enables http
http:
A set of types for representing HTTP requests and responses
- moka implicit feature
-
Enables moka
moka:
A fast and concurrent cache library inspired by Java Caffeine