[package]
name = "auth-framework"
version = "0.2.0"
edition = "2021"
authors = ["Eric Evans <ciresnave@gmail.com>"]
description = "A comprehensive, production-ready authentication and authorization framework for Rust applications"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ciresnave/auth-framework"
keywords = ["auth", "authentication", "authorization", "oauth", "jwt"]
categories = ["authentication", "web-programming"]
readme = "README.md"
documentation = "https://docs.rs/auth-framework"
[dependencies]
tokio = { version = "1.0", features = ["full"] }
jsonwebtoken = "9.2"
reqwest = { version = "0.11", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
anyhow = "1.0"
async-trait = "0.1"
ring = "0.17"
rand = "0.8"
time = { version = "0.3", features = ["serde", "parsing", "formatting"] }
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.0", features = ["v4", "serde"] }
tracing = "0.1"
tracing-subscriber = "0.3"
url = "2.4"
base64 = "0.21"
hex = "0.4"
argon2 = "0.5"
bcrypt = "0.15"
redis = { version = "0.24", optional = true, features = ["aio", "tokio-comp"] }
governor = "0.6"
nonzero_ext = "0.3"
secrecy = { version = "0.8", features = ["serde"] }
[dev-dependencies]
tokio-test = "0.4"
mockito = "1.2"
test-log = "0.2"
[features]
default = ["redis-storage"]
redis-storage = ["redis"]
postgres-storage = []
mysql-storage = []
testing = []