# 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 = "hypers_middleware" version = "0.0.0" description = "Middlewares support for hypers web framework" readme = "README.md" keywords = [ "hyper", "async", "framework", "middleware", "web", ] categories = [ "network-programming", "asynchronous", ] license = "Apache-2.0" [dependencies.async-compression] version = "0.4.4" features = [ "tokio", "gzip", "brotli", "deflate", ] optional = true [dependencies.hypers] version = "^0.4" [dependencies.opentelemetry] version = "0.20" features = ["metrics"] optional = true [dependencies.opentelemetry-http] version = "0.9" optional = true [dependencies.opentelemetry-semantic-conventions] version = "0.12" optional = true [dependencies.tokio-util] version = "0.7.9" features = ["io"] optional = true [dev-dependencies.hypers] version = "^0.4" features = ["static_file"] [features] compression = [ "tokio-util", "async-compression", ] cors = [] default = [] full = [ "compression", "cors", "otel", ] otel = [ "opentelemetry-semantic-conventions", "opentelemetry", "opentelemetry-http", ]