- Conflit SQLx résolu (alignement sur version 0.7) - build.rs configurés pour protoc dans chat/stream servers - API Prometheus migrée vers HistogramOpts - Traits Display/Debug corrigés (String au lieu de &dyn Display) - API TOTP corrigée (totp-rs 5.4 avec Secret::Encoded) - Layers tracing-subscriber corrigés (types conditionnels) - VezaError/VezaResult exportés dans lib.rs - TransactionProvider simplifié (retour void au lieu de Box<dyn>) - VezaConfig contraint Serialize pour to_json() Files: veza-common/Cargo.toml, veza-common/src/*.rs, veza-chat-server/Cargo.toml, veza-chat-server/build.rs, veza-stream-server/Cargo.toml, veza-stream-server/build.rs, VEZA_ROADMAP.json Hours: 8 estimated, 3 actual
71 lines
1.4 KiB
TOML
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 = "1.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.7", 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 = "5.4"
|
|
|
|
# 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"
|
|
|