-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
76 lines (57 loc) · 1.48 KB
/
Cargo.toml
File metadata and controls
76 lines (57 loc) · 1.48 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
[package]
name = "simtrade"
version = "0.1.0"
edition = "2021"
description = "High-performance paper trading engine with realistic market simulation"
license = "MIT"
[dependencies]
# HTTP server
axum = { version = "0.8", features = ["macros"] }
tower = { version = "0.5", features = ["util"] }
tower-http = { version = "0.6", features = ["cors", "trace"] }
# Async runtime
tokio = { version = "1", features = ["full"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Database
sqlx = { version = "0.8", features = ["runtime-tokio", "tls-rustls", "postgres", "chrono"] }
# WebSocket client
tokio-tungstenite = { version = "0.24", features = ["rustls-tls-webpki-roots"] }
futures-util = "0.3"
# HTTP client
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
# JWT verification
jsonwebtoken = "9"
# Concurrent data structures
dashmap = "6"
# UUID generation
uuid = { version = "1", features = ["v4"] }
# Time
chrono = { version = "0.4", features = ["serde"] }
# Environment variables
dotenvy = "0.15"
# Hashing
sha2 = "0.10"
hex = "0.4"
# Random bytes
rand = "0.8"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# LRU eviction
lru = "0.12"
# Errors
thiserror = "2"
anyhow = "1"
[dev-dependencies]
http = "1"
http-body-util = "0.1"
serial_test = "3"
[[test]]
name = "integration"
path = "tests/integration/mod.rs"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1