veza/veza-common/Cargo.toml

72 lines
1.4 KiB
TOML
Raw Normal View History

2025-12-03 21:24:14 +00:00
[package]
name = "veza-common"
version = "0.1.0"
edition = "2021"
authors = ["Veza Team <team@veza.live>"]
description = "Common library for Veza project - shared types and utilities"
license = "MIT"
repository = "https://github.com/okinrev/veza-full-stack"
[dependencies]
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# UUID support
uuid = { version = "1.0", features = ["v4", "serde"] }
# Date/time handling
chrono = { version = "0.4", features = ["serde"] }
# Error handling
thiserror = "2.0"
2025-12-13 02:34:34 +00:00
anyhow = "1.0"
2025-12-03 21:24:14 +00:00
# Regex support
regex = "1.0"
# Lazy static for compiled regex
lazy_static = "1.4"
2025-12-13 02:34:34 +00:00
# Async runtime
tokio = { version = "1.35", features = ["full"] }
async-trait = "0.1"
2025-12-13 02:34:34 +00:00
# Database
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "json"] }
2025-12-13 02:34:34 +00:00
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tracing-appender = "0.2" # FIX #14: Support rotation des logs
2025-12-13 02:34:34 +00:00
# Configuration
config = "0.13"
dotenv = "0.15"
# Validation
validator = { version = "0.19", features = ["derive"] }
2025-12-13 02:34:34 +00:00
# Crypto
sha2 = "0.10"
hmac = "0.12"
base64 = "0.21"
rand = "0.8"
totp-rs = { version = "5.4", features = ["otpauth"] }
2025-12-13 02:34:34 +00:00
# HTTP client
reqwest = { version = "0.11", features = ["json"] }
# Metrics
prometheus = "0.14"
2025-12-13 02:34:34 +00:00
# Cache
lru = "0.12"
2025-12-03 21:24:14 +00:00
[dev-dependencies]
# Testing
tokio = { version = "1.35", features = ["full"] }
2025-12-13 02:34:34 +00:00
mockall = "0.12"
tokio-test = "0.4"
2025-12-03 21:24:14 +00:00