oswilno/crates/actix-jwt-session/Cargo.toml

45 lines
1.2 KiB
TOML

[package]
name = "actix-jwt-session"
version = "1.0.1"
edition = "2021"
description = "Full featured JWT session managment for actix"
license = "MIT"
[features]
default = ['use-redis', 'use-tracing', 'panic-bad-ttl', 'hashing']
use-redis = ["redis", "redis-async-pool"]
use-tracing = ['tracing']
override-bad-ttl = []
panic-bad-ttl = []
hashing = ["argon2"]
[dependencies]
actix-web = "4"
async-trait = "0.1.72"
bincode = "1.3.3"
futures = "0.3.28"
futures-lite = "1.13.0"
futures-util = { version = "0.3.28", features = ['async-await'] }
jsonwebtoken = "8.3.0"
rand = "0.8.5"
redis = { version = "0.17", optional = true }
redis-async-pool = { version = "0.2.4", optional = true }
ring = "0.16.20"
serde = { version = "1.0.183", features = ["derive"] }
serde_json = "1.0.105"
thiserror = "1.0.44"
tokio = { version = "1.30.0", features = ["full"] }
tracing = { version = "0.1.37", optional = true }
uuid = { version = "1.4.1", features = ["v4", "serde"] }
argon2 = { version = "0.5.1", optional = true }
cookie = "0.17.0"
time = { version = "0.3.28", features = ["serde"] }
[[test]]
name = "ensure_redis_flow"
path = "./tests/ensure_redis_flow.rs"
[dev-dependencies]
garde = "0.14.0"
ring = "0.16.20"