[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"] }

# Database
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "json"] }

# Logging
tracing = "0.1"
tracing-subscriber = "0.3"

# Configuration
config = "0.13"
dotenv = "0.15"

# Validation
validator = { version = "0.16", features = ["derive"] }

# Crypto
sha2 = "0.10"
hmac = "0.12"
base64 = "0.21"

# 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"

