tower_allowed_hosts 0.12.1

tower allowed hosts layer
Documentation
[dependencies.axum]
default-features = false
optional = true
version = "0.8.0"

[dependencies.http]
version = "1.0.0"

[dependencies.pin-project]
version = "1.1.3"

[dependencies.regex]
optional = true
version = "1.10.3"

[dependencies.tower-layer]
version = "0.3.3"

[dependencies.tower-service]
version = "0.3.3"

[dependencies.tracing]
default-features = false
features = ["std"]
optional = true
version = "0.1.37"

[dependencies.wildmatch]
optional = true
version = "2.3.0"

[dev-dependencies.bytes]
version = "1.5.0"

[dev-dependencies.http-body-util]
version = "0.1.1"

[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1.36.0"

[dev-dependencies.tower]
features = ["util"]
version = "0.5.0"

[features]
axum = ["dep:axum"]
default = ["tracing"]
regex = ["dep:regex"]
tracing = ["dep:tracing"]
wildcard = ["dep:wildmatch"]

[lib]
name = "tower_allowed_hosts"
path = "src/lib.rs"

[lints.clippy]
allow_attributes = "warn"
dbg_macro = "warn"
exhaustive_enums = "warn"
infinite_loop = "warn"
multiple_inherent_impl = "warn"
panic = "warn"
pedantic = "warn"
print_stderr = "warn"
print_stdout = "warn"
redundant_test_prefix = "warn"
tests_outside_test_module = "warn"
todo = "warn"
unimplemented = "warn"
unreachable = "warn"
unused_trait_names = "warn"
use_debug = "warn"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
ambiguous_negative_literals = "warn"
elided_lifetimes_in_paths = "warn"
meta_variable_misuse = "warn"
missing_docs = "warn"
redundant_imports = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unstable_features = "deny"
unused_crate_dependencies = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"

[package]
authors = ["Saurav Sharma <appdroiddeveloper@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "tower allowed hosts layer"
edition = "2024"
homepage = "https://github.com/iamsauravsharma/tower_allowed_hosts"
license = "MIT"
name = "tower_allowed_hosts"
readme = "README.MD"
repository = "https://github.com/iamsauravsharma/tower_allowed_hosts"
version = "0.12.1"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]