gbserver/gb-testing/Cargo.toml

74 lines
1.8 KiB
TOML
Raw Normal View History

2024-12-22 20:56:52 -03:00
[package]
name = "gb-testing"
2024-12-25 16:25:09 -03:00
version = { workspace = true }
edition = { workspace = true }
authors = { workspace = true }
license = { workspace = true }
2024-12-22 20:56:52 -03:00
# Define features
[features]
default = ["integration"] # No default features
integration = [] # Feature for integration tests
load = [] # Feature for load tests
stress = [] # Feature for stress tests
chaos = [] # Feature for chaos tests
2024-12-22 20:56:52 -03:00
[dependencies]
gb-core = { path = "../gb-core" }
gb-auth = { path = "../gb-auth" }
gb-server = { path = "../gb-server" }
gb-file = { path = "../gb-file" }
2024-12-22 20:56:52 -03:00
anyhow = { workspace = true }
2024-12-22 20:56:52 -03:00
# Testing frameworks
goose = "0.17" # Load testing
criterion = { workspace = true, features = ["async_futures"] }
2024-12-22 20:56:52 -03:00
# Async Runtime
tokio = { workspace = true }
tokio-stream= { workspace = true }
async-trait = { workspace = true }
2024-12-22 20:56:52 -03:00
# HTTP Client
reqwest = { workspace = true, features = ["json", "stream"] }
hyper = { workspace = true, features = ["full"] }
2024-12-22 20:56:52 -03:00
# WebSocket Testing
tokio-tungstenite = { workspace = true }
tungstenite = { workspace = true }
2024-12-22 20:56:52 -03:00
# Database
sqlx = { workspace = true }
redis = { workspace = true }
2024-12-22 20:56:52 -03:00
# Metrics & Monitoring
prometheus = { workspace = true, features = ["process"] }
tracing = { workspace = true }
opentelemetry = { workspace = true }
2024-12-22 20:56:52 -03:00
# Serialization
serde = { workspace = true }
serde_json = { workspace = true }
2024-12-22 20:56:52 -03:00
# Utils
futures = { workspace = true }
rand = { workspace = true }
fake = { workspace = true, features = ["derive"] }
chrono = { workspace = true, features = ["serde"] }
uuid = { workspace = true, features = ["v4"] }
2024-12-22 20:56:52 -03:00
minio = { workspace = true }
actix-web ={ workspace = true }
actix-multipart ={ workspace = true }
sanitize-filename = { workspace = true }
tempfile = { workspace = true }
bytes = { workspace = true }
2024-12-22 20:56:52 -03:00
[dev-dependencies]
rstest = { workspace = true }
2024-12-22 20:56:52 -03:00
wiremock = "0.5"
assert_cmd = "2.0"
predicates = "3.0"