gbserver/gb-auth/Cargo.toml

59 lines
1.4 KiB
TOML
Raw Permalink Normal View History

2024-12-22 20:56:52 -03:00
[package]
name = "gb-auth"
2024-12-25 16:25:09 -03:00
version = { workspace = true }
edition = { workspace = true }
authors = { workspace = true }
license = { workspace = true }
2024-12-22 20:56:52 -03:00
[dependencies]
gb-core = { path = "../gb-core" }
# Authentication & Security
jsonwebtoken = { workspace = true }
2024-12-22 20:56:52 -03:00
argon2 = "0.5"
rand = { version = "0.8", features = ["std"] }
oauth2 = "4.4"
openid = "0.12"
tokio-openssl = "0.6"
ring = "0.17"
# Async Runtime
2024-12-25 16:25:09 -03:00
tokio= { workspace = true }
async-trait= { workspace = true }
2024-12-22 20:56:52 -03:00
# Database
sqlx = { version = "0.7", features = ["runtime-tokio-native-tls", "postgres", "uuid", "chrono", "json"] }
redis = { version = "0.24", features = ["tokio-comp", "json"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Error Handling
thiserror = "1.0"
# Logging & Metrics
2024-12-25 16:25:09 -03:00
tracing= { workspace = true }
2024-12-22 20:56:52 -03:00
# Utils
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.6", features = ["serde", "v4"] }
validator = { version = "0.16", features = ["derive"] }
2024-12-23 17:36:12 -03:00
# Web Framework
axum = { version = "0.7.9" }
axum-extra = { version = "0.7" } # Add headers feature
tower = "0.4"
tower-http = { version = "0.5", features = ["auth", "cors", "trace"] }
headers = "0.3"
tokio-stream = { workspace = true }
2024-12-23 17:36:12 -03:00
2024-12-22 20:56:52 -03:00
[dev-dependencies]
rstest = "0.18"
tokio-test = "0.4"
mockall = "0.12"
2024-12-24 09:59:55 -03:00
axum-extra = { version = "0.7" }
sqlx = { version = "0.7", features = ["runtime-tokio-native-tls", "postgres", "uuid", "chrono", "json"] }
2024-12-24 13:05:54 -03:00