# 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 = "composable-tower-http" version = "0.3.0" authors = ["Jad K. Haddad "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Highly costumizable http utilities built on top of tower." readme = "README.md" keywords = [ "tower", "http", "middleware", "extension", "composable", ] license = "MIT OR Apache-2.0" repository = "https://github.com/JadKHaddad/composable-tower-http" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "composable_tower_http" path = "src/lib.rs" [[example]] name = "and" path = "examples/and.rs" required-features = ["axum"] [[example]] name = "any" path = "examples/any.rs" required-features = ["axum"] [[example]] name = "api_key" path = "examples/api_key.rs" required-features = ["axum"] [[example]] name = "basic_auth" path = "examples/basic_auth.rs" required-features = ["axum"] [[example]] name = "jwt" path = "examples/jwt.rs" required-features = ["axum"] [[example]] name = "jwt_email_verfied" path = "examples/jwt_email_verfied.rs" required-features = ["axum"] [[example]] name = "jwt_email_verfied_lite" path = "examples/jwt_email_verfied_lite.rs" required-features = ["axum"] [[example]] name = "jwt_groups" path = "examples/jwt_groups.rs" required-features = ["axum"] [[example]] name = "jwt_random_verification" path = "examples/jwt_random_verification.rs" required-features = ["axum"] [[example]] name = "map" path = "examples/map.rs" required-features = ["axum"] [[example]] name = "map_err" path = "examples/map_err.rs" required-features = ["axum"] [[example]] name = "optional" path = "examples/optional.rs" required-features = ["axum"] [[example]] name = "or" path = "examples/or.rs" required-features = ["axum"] [[example]] name = "or_and" path = "examples/or_and.rs" required-features = ["axum"] [dependencies.axum] version = "0.7.9" optional = true [dependencies.base64] version = "0.22.1" [dependencies.http] version = "1.1.0" [dependencies.jsonwebtoken] version = "9.2.0" [dependencies.reqwest] version = "0.12.7" features = ["json"] [dependencies.serde] version = "1.0.215" [dependencies.thiserror] version = "2.0.3" [dependencies.tokio] version = "1.41.1" features = [ "sync", "macros", ] [dependencies.tower] version = "0.5.0" [dependencies.tower-layer] version = "0.3.0" [dependencies.tracing] version = "0.1.40" [dev-dependencies.anyhow] version = "1.0.93" [dev-dependencies.dotenvy] version = "0.15.7" [dev-dependencies.mockall] version = "0.13.1" [dev-dependencies.tokio] version = "1.39.3" features = ["full"] [dev-dependencies.tower-http] version = "0.6.2" features = ["trace"] [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [features] axum = ["dep:axum"] default = []