# 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 = "tower-etag-cache" version = "0.1.0" authors = ["billythedummy"] include = [ "/src", "/README.md", ] description = "A tower middleware for implementing ETag-based HTTP caching" homepage = "https://github.com/billythedummy/tower-etag-cache" readme = "README.md" keywords = [ "cache", "async", "service", "middleware", "futures", ] categories = [ "asynchronous", "network-programming", "web-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/billythedummy/tower-etag-cache.git" resolver = "1" [dependencies.blake3] version = "^1.0" optional = true [dependencies.bytes] version = "^1.0" optional = true [dependencies.const-lru] version = "^1.0" optional = true [dependencies.data-encoding] version = "^2" optional = true [dependencies.http] version = "^0.2" [dependencies.http-body] version = "^0.4" optional = true [dependencies.hyper] version = "^0.14" optional = true [dependencies.num-traits] version = "^0.2" optional = true [dependencies.pin-project] version = "^1.0" [dependencies.time] version = "^0.3" features = ["formatting"] optional = true [dependencies.tokio] version = "^1.0" features = [ "rt", "sync", ] optional = true [dependencies.tokio-util] version = "^0.7" optional = true [dependencies.tower-layer] version = "^0.3" [dependencies.tower-service] version = "^0.3" [features] base64-blake3-body-etag = [ "dep:data-encoding", "dep:blake3", ] const-lru-provider = [ "dep:bytes", "dep:const-lru", "dep:http-body", "dep:hyper", "dep:num-traits", "dep:time", "dep:tokio", "dep:tokio-util", "simple-etag-cache-key", "base64-blake3-body-etag", ] default = ["http-body-impl"] http-body-impl = [ "dep:bytes", "dep:http-body", ] simple-etag-cache-key = []