[package]
name = "axum_oidc"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = "0.6"
axum-extra = {version="0.7", features=["cookie", "cookie-private"], optional=true}
openidconnect = {version="3.0", optional=true}
async-trait = "0.1"
thiserror = "1.0"
reqwest = { version="0.11", default_features=false}
serde = "1.0"
serde_json = "1.0"
jsonwebtoken = {version="^8.3", optional=true}
[features]
default = [ "jwt", "oidc" ]
oidc = [ "openidconnect", "axum-extra" ]
jwt = [ "jsonwebtoken", "reqwest/json", "reqwest/rustls-tls", "serde/derive" ]