# 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_allowed_hosts" version = "0.6.1" authors = ["Saurav Sharma "] description = "tower allowed hosts layer" homepage = "https://github.com/iamsauravsharma/tower_allowed_hosts" readme = "README.MD" license = "MIT" repository = "https://github.com/iamsauravsharma/tower_allowed_hosts" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.http] version = "1.0.0" [dependencies.pin-project] version = "1.1.3" [dependencies.regex] version = "1.10.3" optional = true [dependencies.thiserror] version = "1.0.44" [dependencies.tower] version = "0.4.13" [dependencies.tracing] version = "0.1.37" features = ["std"] optional = true default-features = false [dependencies.wildmatch] version = "2.3.0" optional = true [dev-dependencies.bytes] version = "1.5.0" [dev-dependencies.http-body-util] version = "0.1.1" [dev-dependencies.tokio] version = "1.36.0" features = [ "macros", "rt-multi-thread", ] [dev-dependencies.tower] version = "0.4.13" features = ["util"] [features] default = ["tracing"] regex = ["dep:regex"] tracing = ["dep:tracing"] wildcard = ["dep:wildmatch"] [lints.clippy] all = "deny" pedantic = "warn" [lints.rust] missing_docs = "warn" unreachable_pub = "warn" unsafe_code = "deny" unused_crate_dependencies = "warn"