-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (57 loc) · 1.75 KB
/
Cargo.toml
File metadata and controls
71 lines (57 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[workspace]
resolver = "3"
members = ["s3-client", "service-images", "service-chats", "service-calls", "kafka-client", "scylladb-client", "valkey-client", "service-gateway", "service-auth", "service-channels"]
[workspace.package]
edition = "2024"
readme = "README.md"
license = "MIT"
[workspace.dependencies]
# HTTP stack
axum = { version = "0.8", features = ["multipart", "macros", "ws"] }
axum-prometheus = "0.10"
tower-http = { version = "0.6", features = ["cors", "trace", "timeout"] }
# Database
sqlx = { version = "0.8", features = ["runtime-tokio", "tls-rustls", "postgres", "uuid", "chrono"] }
# gRPC stack
tonic = "0.14"
tonic-prost = "*"
tonic-prost-build = "*"
prost = "0.14"
prost-types = "0.14"
# Async runtime
tokio = { version = "1.51", features = ["rt-multi-thread", "macros", "signal"] }
# HTTP client
reqwest = { version = "0.13", default-features = false, features = ["json", "form", "rustls"] }
# Observability
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# JSON serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Other
mimalloc = { version = "*", features = ["v3"] }
uuid = { version = "1", features = ["v7", "serde"] }
chrono = {version = "0.4", features = ["serde"] }
dashmap = "6"
futures-util = "0.3"
# Errors
thiserror = "2"
# Env varible
dotenvy = "0.15"
# Custom crates
s3-client = { path = "s3-client" }
kafka-client = { path = "kafka-client" }
scylladb-client = { path = "scylladb-client" }
valkey-client = { path = "valkey-client" }
# Tests
axum-test = "20"
testcontainers-modules = { version = "0.15.0", features = ["kafka", "minio", "valkey"] }
anyhow = "1"
tempfile = "3"
[profile.release]
lto = "fat"
opt-level = 3
codegen-units = 1
panic = 'abort'
debug = false
strip = true