-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
76 lines (60 loc) · 1.53 KB
/
Copy pathCargo.toml
File metadata and controls
76 lines (60 loc) · 1.53 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
72
73
74
75
76
[workspace]
members = [
"robson-domain",
"robson-engine",
"robson-exec",
"robson-connectors",
"robson-store",
"robson-eventlog",
"robson-projector",
"robson-db",
"robson-testkit",
"robsond",
"robson-cli",
"robson-sim",
]
resolver = "2"
[workspace.package]
version = "2.0.0-alpha"
edition = "2021"
authors = ["Robson Team"]
license = "MIT"
[workspace.dependencies]
# Async runtime
tokio = { version = "1.35", features = ["full"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Decimal math (critical for financial calculations)
rust_decimal = { version = "1.33", features = ["serde"] }
rust_decimal_macros = "1.33"
# UUIDs (v7 for time-ordered IDs)
uuid = { version = "1.6", features = ["v7", "serde"] }
# Date/Time
chrono = { version = "0.4", features = ["serde"] }
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Logging/Tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# Database (PostgreSQL)
sqlx = { version = "0.8", features = ["runtime-tokio", "postgres", "uuid", "chrono", "json", "rust_decimal"] }
# HTTP server
axum = "0.7"
tower-http = { version = "0.5", features = ["trace", "cors"] }
tower = "0.4"
# HTTP client
reqwest = { version = "0.11", features = ["json"] }
# WebSocket
tokio-tungstenite = { version = "0.21", features = ["native-tls"] }
# Async trait
async-trait = "0.1"
# Config
dotenvy = "0.15"
# Metrics
prometheus = "0.13"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1