gbserver/gb-api/Cargo.toml
2024-12-25 21:28:16 -03:00

32 lines
1.2 KiB
TOML

[package]
name = "gb-api"
version = { workspace = true }
edition = { workspace = true }
authors = { workspace = true }
license = { workspace = true }
[dependencies]
gb-core = { path = "../gb-core" }
gb-messaging = { path = "../gb-messaging" }
gb-monitoring = { path = "../gb-monitoring" }
tokio = { version = "1.0", features = ["full", "macros", "rt-multi-thread"] } # Add these features
axum = { version = "0.7.9", features = ["ws", "multipart", "macros"] }
serde= { workspace = true }
serde_json= { workspace = true }
uuid= { workspace = true }
tracing= { workspace = true }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
async-trait= { workspace = true }
futures-util = { version = "0.3", features = ["sink"] }
chrono = { workspace = true, features = ["serde"] }
tokio-stream = "0.1.17"
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "chrono", "uuid"] }
redis = { version = "0.23", features = ["tokio-comp"] }
hyper = { version = "1.0", features = ["server"] }
hyper-util = { version = "0.1" }
tower = { workspace = true }
tower-http = { version = "0.5", features = ["cors", "trace"] }
[dev-dependencies]
rstest= { workspace = true }
tokio-test = "0.4"