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
|
2026-02-11 22:18:34 +00:00
|
|
|
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
|
2026-02-15 13:47:31 +00:00
|
|
|
tokio = { version = "1.35", features = ["full"] }
|
2025-12-28 14:41:23 +00:00
|
|
|
async-trait = "0.1"
|
2025-12-13 02:34:34 +00:00
|
|
|
|
|
|
|
|
# Database
|
2026-02-11 22:18:34 +00:00
|
|
|
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "json"] }
|
2025-12-13 02:34:34 +00:00
|
|
|
|
|
|
|
|
# Logging
|
|
|
|
|
tracing = "0.1"
|
2025-12-28 14:41:23 +00:00
|
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
2025-12-27 01:02:28 +00:00
|
|
|
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.16", features = ["derive"] }
|
|
|
|
|
|
|
|
|
|
# Crypto
|
|
|
|
|
sha2 = "0.10"
|
|
|
|
|
hmac = "0.12"
|
|
|
|
|
base64 = "0.21"
|
2025-12-28 14:41:23 +00:00
|
|
|
rand = "0.8"
|
2026-02-11 21:19:17 +00:00
|
|
|
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.13"
|
|
|
|
|
|
|
|
|
|
# Cache
|
|
|
|
|
lru = "0.12"
|
|
|
|
|
|
2025-12-03 21:24:14 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
|
# Testing
|
2026-02-15 13:47:31 +00:00
|
|
|
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
|
|
|
|