# 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" name = "http-cache-surf" version = "0.14.0" authors = [ "Christian Haynes <06chaynes@gmail.com>", "Kat Marchán ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "http-cache middleware implementation for surf" homepage = "https://http-cache.rs" readme = "README.md" keywords = [ "cache", "http", "middleware", "surf", ] categories = [ "caching", "web-programming::http-client", ] license = "MIT OR Apache-2.0" repository = "https://github.com/06chaynes/http-cache" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "http_cache_surf" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.72" [dependencies.async-trait] version = "0.1.72" [dependencies.http] version = "1.1.0" [dependencies.http-cache] version = "0.20.0" features = ["with-http-types"] default-features = false [dependencies.http-cache-semantics] version = "2.1.0" [dependencies.http-types] version = "2.12.0" [dependencies.serde] version = "1.0.178" features = ["derive"] [dependencies.surf] version = "2.3.2" default-features = false [dependencies.thiserror] version = "2.0.3" [dependencies.url] version = "2.4.0" features = ["serde"] [dev-dependencies.async-std] version = "1.12.0" features = ["attributes"] [dev-dependencies.surf] version = "2.3.2" features = ["curl-client"] [dev-dependencies.wiremock] version = "0.6.0" [features] default = ["manager-cacache"] manager-cacache = [ "http-cache/manager-cacache", "http-cache/cacache-async-std", ] manager-moka = ["http-cache/manager-moka"]