# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.67.1" name = "http-cache" version = "0.20.0" authors = [ "Christian Haynes <06chaynes@gmail.com>", "Kat Marchán ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An HTTP caching middleware" homepage = "https://http-cache.rs" readme = "README.md" keywords = [ "cache", "http", "middleware", ] categories = [ "caching", "web-programming::http-client", ] license = "MIT OR Apache-2.0" repository = "https://github.com/06chaynes/http-cache" [package.metadata.docs.rs] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "http_cache" path = "src/lib.rs" [dependencies.async-trait] version = "0.1.72" [dependencies.bincode] version = "1.3.3" optional = true [dependencies.cacache] version = "13.0.0" features = ["mmap"] optional = true default-features = false [dependencies.http] version = "1.1.0" [dependencies.http-cache-semantics] version = "2.1.0" [dependencies.http-types] version = "2.12.0" optional = true default-features = false [dependencies.httpdate] version = "1.0.2" [dependencies.moka] version = "0.12.0" features = ["future"] optional = true [dependencies.serde] version = "1.0.178" features = ["derive"] [dependencies.url] version = "2.4.0" features = ["serde"] [dev-dependencies.async-attributes] version = "1.1.2" [dev-dependencies.async-std] version = "1.12.0" [dev-dependencies.http-cache-semantics] version = "2.1.0" [dev-dependencies.tokio] version = "1.29.1" features = [ "macros", "rt", "rt-multi-thread", ] [features] cacache-async-std = ["cacache/async-std"] cacache-tokio = ["cacache/tokio-runtime"] default = [ "manager-cacache", "cacache-async-std", ] manager-cacache = [ "cacache", "bincode", ] manager-moka = [ "moka", "bincode", ] with-http-types = ["http-types"]