-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (51 loc) · 1.34 KB
/
Cargo.toml
File metadata and controls
60 lines (51 loc) · 1.34 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
[workspace]
resolver = "2"
members = ["ethereum/bindings"]
[workspace.dependencies]
alloy = { version = "=1.0.42", default-features = false, features = [
"essentials",
"json-rpc",
"node-bindings",
"contract",
"k256",
"std",
] }
anyhow = "1.0.100"
const_format = "0.2.35"
hex-literal = "1.1.0"
serde = { version = "1.0.228", features = ["derive"] }
serde_with = { version = "3.16.1" }
serde_json = { version = "1.0.145" }
thiserror = "2.0.17"
tokio = { version = "1.48.0", features = [
"rt-multi-thread",
"macros",
"tracing",
] }
tracing = { version = "0.1.43" }
hopr-bindings = { path = "ethereum/bindings", default-features = false }
[profile.dev]
panic = "abort"
# this profile focuses on the speed of compilation
[profile.candidate]
inherits = "release"
codegen-units = 16 # normal release default
lto = false # do the smallest amount of link-time optimization
panic = "abort"
strip = true
opt-level = 2
# perform minimal optimizations to prevent stack overflows in large tests
[profile.test]
opt-level = 1
# this profile focuses on the best runtime performance and the smallest binary size
[profile.release]
codegen-units = 1
lto = "fat"
panic = "abort"
strip = true
opt-level = 3
# uses extended debug symbols for profiling but does not harm benchmarking performance
[profile.bench]
debug = 2
split-debuginfo = "off"
strip = false