[package]
name = "securitydept-session-context"
version = "0.2.0"
edition = "2024"
authors = ["Zhou Yeheng <root@aitiotekt.com>"]
description = "Session Context of SecurityDept, a layered authentication and authorization toolkit built as reusable Rust crates."
license = "MIT"
repository = "https://github.com/ethaxon/securitydept"
homepage = "https://securitydept.ethaxon.com/"
documentation = "https://docs.rs/securitydept-session-context"
readme = "README.md"
keywords = ["auth","oauth","oidc","security","token"]
categories = ["authentication","network-programming","web-programming"]
[features]
service = ["dep:securitydept-oidc-client"]
[dependencies]
humantime-serde = { workspace = true }
http = { workspace = true }
securitydept-oidc-client = { version = "~0.2.0", path = "../oidc-client", optional = true }
securitydept-utils = { version = "~0.2.0", path = "../utils" }
serde = { workspace = true }
serde_json = { workspace = true }
snafu = { workspace = true }
tower-sessions = { workspace = true }
tracing = { workspace = true }
typed-builder = { workspace = true }
url = { workspace = true }
[dev-dependencies]
tokio = { workspace = true }
tower-sessions-memory-store = "0.15"
securitydept-oidc-client = { version = "~0.2.0", path = "../oidc-client" }