veza/veza-common/Cargo.toml
senke 05e26f9342 fix(deps): upgrade outdated Rust dependencies across services
stream-server (Cargo.toml):
- sqlx 0.7 -> 0.8
- redis 0.25 -> 0.27 (fix query_async generic args in revocation_store.rs)
- bcrypt 0.15 -> 0.17
- thiserror 1.0 -> 2.0
- dashmap 5.5 -> 6.1

veza-common (Cargo.toml):
- sqlx 0.7 -> 0.8 (required to avoid libsqlite3-sys link conflict)
- thiserror 1.0 -> 2.0

chat-server (Cargo.toml):
- sqlx 0.7 -> 0.8 (alignment with veza-common)

Addresses audit findings D2, A06: outdated Rust dependencies.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-11 23:18:34 +01:00

71 lines
1.4 KiB
TOML

[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"
anyhow = "1.0"
# Regex support
regex = "1.0"
# Lazy static for compiled regex
lazy_static = "1.4"
# Async runtime
tokio = { version = "1.0", features = ["full"] }
async-trait = "0.1"
# Database
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "json"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tracing-appender = "0.2" # FIX #14: Support rotation des logs
# Configuration
config = "0.13"
dotenv = "0.15"
# Validation
validator = { version = "0.16", features = ["derive"] }
# Crypto
sha2 = "0.10"
hmac = "0.12"
base64 = "0.21"
rand = "0.8"
totp-rs = { version = "5.4", features = ["otpauth"] }
# HTTP client
reqwest = { version = "0.11", features = ["json"] }
# Metrics
prometheus = "0.13"
# Cache
lru = "0.12"
[dev-dependencies]
# Testing
tokio = { version = "1.0", features = ["full"] }
mockall = "0.12"
tokio-test = "0.4"