-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (83 loc) · 2.77 KB
/
Copy pathCargo.toml
File metadata and controls
93 lines (83 loc) · 2.77 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[workspace]
members = [
"node",
"client",
"deployer",
"execution",
"randotron",
"simulator",
"types",
"website/wasm",
]
resolver = "2"
[workspace.package]
version = "0.0.1"
edition = "2021"
license = "MIT OR Apache-2.0"
[workspace.dependencies]
# Internal crates
battleware-client = { version = "0.0.1", path = "client" }
battleware-node = { version = "0.0.1", path = "node" }
battleware-execution = { version = "0.0.1", path = "execution", default-features = false }
battleware-simulator = { version = "0.0.1", path = "simulator" }
battleware-types = { version = "0.0.1", path = "types" }
battleware-randotron = { version = "0.0.1", path = "randotron" }
battleware-deployer = { version = "0.0.1", path = "deployer" }
# Commonware dependencies
commonware-broadcast = { version = "0.0.62" }
commonware-codec = { version = "0.0.62" }
commonware-consensus = { version = "0.0.62" }
commonware-cryptography = { version = "0.0.62" }
commonware-deployer = { version = "0.0.62", default-features = false }
commonware-macros = { version = "0.0.62" }
commonware-p2p = { version = "0.0.62" }
commonware-resolver = { version = "0.0.62" }
commonware-runtime = { version = "0.0.62" }
commonware-storage = { version = "0.0.62" }
commonware-stream = { version = "0.0.62" }
commonware-utils = { version = "0.0.62" }
# Common dependencies
anyhow = "1.0.99"
thiserror = "2.0.12"
bytes = "1.7.1"
rand = "0.8.5"
futures = "0.3.31"
futures-util = "0.3.31"
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
governor = "0.6.3"
prometheus-client = "0.22.3"
clap = { version = "4.5.18", features = ["derive"] }
serde = { version = "1.0.218", features = ["derive"] }
serde_json = "1.0.122"
serde_yaml = "0.9.34"
tokio = { version = "1.43.0", features = ["full"] }
rayon = "1.10.0"
rand_chacha = "0.3.1"
uuid = "1.15.1"
# Web/API dependencies
axum = { version = "0.7.9", features = ["ws"] }
reqwest = { version = "0.11.27", features = ["json"] }
tokio-tungstenite = { version = "0.24.0", features = ["native-tls"] }
tower = "0.5.2"
url = "2.5.4"
[profile.bench]
# Because we enable overflow checks in "release," we should benchmark with them.
overflow-checks = true
[profile.dev]
# Although overflow checks are enabled by default in "dev", we explicitly
# enable them here for clarity.
overflow-checks = true
[profile.release]
# To guard against unexpected behavior in production, we enable overflow checks in
# "release" although they incur some performance penalty.
overflow-checks = true
[profile.release-with-debug]
inherits = "release"
# Setting debug to true instructs cargo to include debug symbols in the release
# binary (not to disable optimizations).
debug = true
[profile.test]
# Although overflow checks are enabled by default in "test", we explicitly
# enable them here for clarity.
overflow-checks = true