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

28 lines
765 B
TOML
Raw Normal View History

2023-04-21 15:11:37 +02:00
[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"
2023-08-27 22:08:53 +02:00
axum-extra = {version="0.7", features=["cookie", "cookie-private"], optional=true}
openidconnect = {version="3.0", optional=true}
2023-04-21 15:11:37 +02:00
async-trait = "0.1"
thiserror = "1.0"
reqwest = { version="0.11", default_features=false}
2023-08-27 22:08:53 +02:00
serde = "1.0"
2023-04-21 15:11:37 +02:00
serde_json = "1.0"
2023-08-27 22:08:53 +02:00
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" ]