This repository has been archived on 2024-01-17. You can view files and clone it, but cannot push or open issues or pull requests.
axum_oidc/Cargo.toml
2023-10-20 00:26:59 +02:00

25 lines
654 B
TOML

[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" ]