# 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 = "jwt-authorizer" version = "0.15.0" authors = ["cduvray "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "jwt authorizer middleware for axum and tonic" readme = "docs/README.md" keywords = [ "jwt", "axum", "authorisation", "jwks", ] license = "MIT" repository = "https://github.com/cduvray/jwt-authorizer" [lib] name = "jwt_authorizer" path = "src/lib.rs" [[test]] name = "integration_tests" path = "tests/integration_tests.rs" [[test]] name = "tests" path = "tests/tests.rs" [[test]] name = "tonic" path = "tests/tonic.rs" required-features = ["tonic"] [dependencies.axum] version = "0.7" [dependencies.chrono] version = "0.4" optional = true [dependencies.futures-core] version = "0.3" [dependencies.futures-util] version = "0.3" [dependencies.headers] version = "0.4" [dependencies.http] version = "1.1" [dependencies.http-body-util] version = "0.1.1" [dependencies.jsonwebtoken] version = "9.3" [dependencies.pin-project] version = "1.1" [dependencies.reqwest] version = "0.12.4" features = ["json"] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3" optional = true [dependencies.tokio] version = "1.37" features = ["full"] [dependencies.tonic] version = "0.12" optional = true [dependencies.tower-http] version = "0.5" features = [ "trace", "auth", ] [dependencies.tower-layer] version = "0.3" [dependencies.tower-service] version = "0.3" [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dev-dependencies.hyper] version = "1.3.1" features = ["full"] [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.prost] version = "0.13" [dev-dependencies.tower] version = "0.4.13" features = [ "util", "buffer", ] [dev-dependencies.wiremock] version = "0.6.1" [features] chrono = ["dep:chrono"] default = [ "default-tls", "chrono", ] default-tls = ["reqwest/default-tls"] native-tls = ["reqwest/native-tls"] native-tls-alpn = ["reqwest/native-tls-alpn"] native-tls-vendored = ["reqwest/native-tls-vendored"] rustls-tls = ["reqwest/rustls-tls"] rustls-tls-manual-roots = ["reqwest/rustls-tls-manual-roots"] rustls-tls-native-roots = ["reqwest/rustls-tls-native-roots"] rustls-tls-webpki-roots = ["reqwest/rustls-tls-webpki-roots"] time = ["dep:time"]