# 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 = "axum-util" version = "0.2.2" authors = ["Protryon "] description = "Misc utilities for axum (dynamic TLS, OIDC, logger, errors, CORS, and JWT auth)" keywords = [ "axum", "misc", "util", ] license = "Apache-2.0" repository = "https://github.com/Protryon/axum-util" [dependencies.anyhow] version = "1.0" [dependencies.async-trait] version = "0.1" [dependencies.axum] version = "0.6" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.futures] version = "0.3" [dependencies.hmac] version = "0.12" optional = true [dependencies.http] version = "0.2" [dependencies.http-body] version = "0.4" [dependencies.hyper] version = "0.14" [dependencies.indexmap] version = "1.9" [dependencies.jwt] version = "0.16" optional = true [dependencies.log] version = "0.4" [dependencies.openid] version = "0.11" optional = true [dependencies.pin-project] version = "1.0" [dependencies.prometheus] version = "0.13.3" optional = true [dependencies.rustls] version = "0.20" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.10" optional = true [dependencies.tokio] version = "1" [dependencies.tokio-rustls] version = "0.23" optional = true [dependencies.tokio-stream] version = "0.1" [dependencies.tower-layer] version = "0.3" [dependencies.tower-service] version = "0.3" [dependencies.url] version = "2.4" [features] auth = [ "dep:jwt", "hmac", "sha2", ] default = [ "prometheus", "oidc", "auth", "tls", ] oidc = ["openid"] prometheus = ["dep:prometheus"] tls = [ "rustls", "tokio-rustls", ]