[go: up one dir, main page]

http-global-cache 0.1.1

A global cache to use for http.
Documentation
[package]
name = "http-global-cache"
version = "0.1.1"
authors = ["j-mendez <jeff@spider.cloud>"]
description = "A global cache to use for http."
repository = "https://github.com/spider-rs/spider"
readme = "README.md"
keywords = ["cache", "http"]
categories = ["web-programming", "command-line-utilities"]
license = "MIT"
documentation = "https://docs.rs/http-global-cache"
edition = "2024"

[dependencies]
http-cache-reqwest = { version = "0.15", optional = true, default-features = false }
http-cache-semantics = { version = "2", optional = true }
http-cache = { version = "0.20", optional = true, default-features = false }
http = { version = "1", optional = true }
moka = { version = "0.12", features = ["future"], optional = true }
lazy_static = "1"

[features]
cache_request = ["dep:http-cache-reqwest"]
cache = ["cache_request", "http-cache-reqwest/manager-cacache"]
cache_mem = ["cache_request", "http-cache-reqwest/manager-moka"]