# 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" rust-version = "1.74.1" name = "axum-keycloak-auth" version = "0.6.0" authors = ["Lukas Potthast "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Protect axum routes with a JWT emitted by Keycloak. """ readme = "README.md" keywords = [ "keycloak", "auth", "jwt", "oidc", "axum", ] categories = [ "authentication", "web-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/lpotthast/axum-keycloak-auth" [lib] name = "axum_keycloak_auth" path = "src/lib.rs" [[test]] name = "integration_test" path = "tests/integration_test.rs" [dependencies.atomic-time] version = "0.1.5" [dependencies.axum] version = "0.7.5" [dependencies.educe] version = "0.6.0" features = ["Debug"] default-features = false [dependencies.futures] version = "0.3.30" [dependencies.http] version = "1.1.0" [dependencies.jsonwebtoken] version = "9.3.0" [dependencies.nonempty] version = "0.10.0" [dependencies.reqwest] version = "0.12.5" features = ["json"] default-features = false [dependencies.serde] version = "1.0.203" [dependencies.serde-querystring] version = "0.2.1" [dependencies.serde_json] version = "1.0.117" [dependencies.serde_with] version = "3.8.1" [dependencies.snafu] version = "0.8.3" [dependencies.time] version = "0.3.36" [dependencies.tokio] version = "1.38.0" [dependencies.tower] version = "0.5.1" [dependencies.tracing] version = "0.1.40" [dependencies.try-again] version = "0.1.1" [dependencies.typed-builder] version = "0.20.0" [dependencies.url] version = "2.5.1" [dependencies.uuid] version = "1.8.0" features = ["v7"] [dev-dependencies.keycloak] version = "25.0.0" [dev-dependencies.testcontainers] version = "0.22.0" [dev-dependencies.tower-http] version = "0.5.2" features = ["trace"] [dev-dependencies.tracing-subscriber] version = "0.3.18" [dev-dependencies.uuid] version = "1.8.0" features = [ "v7", "serde", ] [features] default = [ "default-tls", "reqwest/charset", "reqwest/http2", "reqwest/macos-system-configuration", ] default-tls = ["reqwest/default-tls"] rustls-tls = ["reqwest/rustls-tls"]