build: add release and maxperf build profiles

This commit is contained in:
Quertyy
2025-07-06 23:24:07 +02:00
parent 0c640ab2f2
commit 8790953183

View File

@ -11,6 +11,19 @@ path = "src/lib.rs"
name = "reth-hl" name = "reth-hl"
path = "src/main.rs" path = "src/main.rs"
[profile.release]
opt-level = 3
lto = "thin"
debug = "none"
strip = "symbols"
panic = "unwind"
codegen-units = 16
[profile.maxperf]
inherits = "release"
lto = "fat"
codegen-units = 1
[dependencies] [dependencies]
reth = { git = "https://github.com/sprites0/reth", rev = "fc754e5983f055365325dc9a04632d5ba2c4a8bc" } reth = { git = "https://github.com/sprites0/reth", rev = "fc754e5983f055365325dc9a04632d5ba2c4a8bc" }
reth-cli = { git = "https://github.com/sprites0/reth", rev = "fc754e5983f055365325dc9a04632d5ba2c4a8bc" } reth-cli = { git = "https://github.com/sprites0/reth", rev = "fc754e5983f055365325dc9a04632d5ba2c4a8bc" }