-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
38 lines (28 loc) · 854 Bytes
/
Copy pathCargo.toml
File metadata and controls
38 lines (28 loc) · 854 Bytes
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
[package]
name = "dice_rpc"
version = "0.1.0"
edition = "2024"
[dependencies]
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
clap = { version = "4.2", features = ["derive"] }
uuid = { version = "1", features = ["v4", "serde"] }
anyhow = "1.0"
# HTTP transport
axum = { version = "0.7", optional = true }
tower = { version = "0.4", optional = true }
tower-http = { version = "0.5", features = ["trace"], optional = true }
# Logging and tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Async utilities
futures = "0.3"
reqwest = { version = "0.12.24", features = ["json"] }
[dev-dependencies]
tokio-test = "0.4"
[features]
default = ["tcp", "http"]
tcp = []
http = ["dep:axum", "dep:tower", "dep:tower-http"]
full = ["tcp", "http"]