27 lines
765 B
TOML
27 lines
765 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}
|
|
tower = {version="^0.4", optional=true}
|
|
futures-util = {version="^0.3",optional=true}
|
|
|
|
[features]
|
|
default = [ "jwt", "oidc" ]
|
|
oidc = [ "openidconnect", "axum-extra" ]
|
|
jwt = [ "tower", "jsonwebtoken", "futures-util", "reqwest/json", "reqwest/rustls-tls", "serde/derive" ]
|