41 lines
1.0 KiB
TOML
41 lines
1.0 KiB
TOML
[package]
|
|
name = "actix-jwt-session"
|
|
version = "0.1.1"
|
|
edition = "2021"
|
|
description = "Full featured JWT session managment for actix"
|
|
license = "MIT"
|
|
|
|
[features]
|
|
default = ['use-redis', 'use-tracing', 'panic-bad-ttl']
|
|
use-redis = ["redis", "redis-async-pool"]
|
|
use-tracing = ['tracing']
|
|
override-bad-ttl = []
|
|
panic-bad-ttl = []
|
|
|
|
[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"] }
|
|
|
|
[[test]]
|
|
name = "ensure_redis_flow"
|
|
path = "./tests/ensure_redis_flow.rs"
|
|
|
|
[dev-dependencies]
|
|
garde = "0.14.0"
|
|
ring = "0.16.20"
|