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

26 lines
654 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}
[features]
default = [ "jwt", "oidc" ]
oidc = [ "openidconnect", "axum-extra" ]
2023-10-20 00:26:59 +02:00
jwt = [ "jsonwebtoken", "reqwest/json", "reqwest/rustls-tls", "serde/derive" ]