-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
59 lines (50 loc) · 2.87 KB
/
Copy pathCargo.toml
File metadata and controls
59 lines (50 loc) · 2.87 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
[workspace]
resolver = "2"
members = ["chainspec", "core", "host", "methods", "ssz-multiproofs"]
[workspace.package]
version = "1.0.0"
edition = "2024"
repository = "https://github.com/boundless-xyz/The-Signal.Ethereum/"
# Always optimize; building and running the guest takes much longer without optimization.
[profile.dev]
opt-level = 3
[profile.release]
opt-level = 3 # Optimize for build time and code size; use "3" for maximum runtime performance
codegen-units = 16 # Increases parallelism in code generation
debug = false # Disable debug information to speed up builds
lto = false # Link Time Optimization disabled for faster linking
panic = "unwind" # Keeps unwinding for better build speed; "abort" is faster but changes behavior
incremental = false # Disable incremental compilation for deterministic builds
overflow-checks = false # Skip overflow checks for better performance
[workspace.dependencies]
chainspec = { path = "./chainspec", default-features = false }
methods = { path = "./methods", default-features = false }
z-core = { path = "./core", default-features = false }
alloy-primitives = { version = "1.2.1" }
alloy-sol-types = { version = "1.2.1" }
bincode = { version = "1.3" }
hex = { version = "0.4" }
bytemuck = { version = "1.14" }
risc0-build = { version = "3.0.3" }
risc0-zkvm = { version = "3.0.3", default-features = false }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
serde = "1.0"
sha2 = { version = "0.10.9", default-features = false }
ethereum-consensus = { git = "https://github.com/boundless-xyz/ethereum-consensus.git", rev = "1186e3e50bd10f00ef2caf1846ee8d62f5c8e4ef", default-features = false }
ssz_rs = { git = "https://github.com/willemolding/ssz-rs", rev = "f9348a9c91948e69b820cd91daef28666b37133b", default-features = false }
bitvec = { version = "1", features = ["serde"] }
tracing = "0.1.41"
anyhow = "1.0.57"
thiserror = "2.0"
tokio = { version = "1.45", features = ["full"] }
# Lighthouse crates
beacon_chain = { git = "https://github.com/sigp/lighthouse.git", rev = "9c972201bcce642a3dadaa6c98958cf6b440a4e2" }
beacon_types = { package = "types", git = "https://github.com/sigp/lighthouse.git", rev = "9c972201bcce642a3dadaa6c98958cf6b440a4e2", default-features = false, features = [
"legacy-arith",
] }
bls = { git = "https://github.com/sigp/lighthouse.git", rev = "9c972201bcce642a3dadaa6c98958cf6b440a4e2" }
swap_or_not_shuffle = { git = "https://github.com/sigp/lighthouse.git", rev = "9c972201bcce642a3dadaa6c98958cf6b440a4e2" }
safe_arith = { git = "https://github.com/sigp/lighthouse.git", rev = "9c972201bcce642a3dadaa6c98958cf6b440a4e2" }
[patch."https://github.com/ralexstokes/ssz-rs"]
# Get the merkle tree empty node virtualization so non-trivial merkle trees actually fit in memory
ssz_rs = { git = "https://github.com/willemolding/ssz-rs", rev = "f9348a9c91948e69b820cd91daef28666b37133b" }