Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Commit 74999a1

Browse files
authored
chore: sync profiles with reth (#100)
1 parent 5fa5db4 commit 74999a1

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

Cargo.toml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
[workspace]
2-
members = ["bin/alphanet/", "crates/node", "crates/precompile", "crates/testing"]
2+
members = [
3+
"bin/alphanet/",
4+
"crates/node",
5+
"crates/precompile",
6+
"crates/testing",
7+
]
38
default-members = ["bin/alphanet/"]
49
resolver = "2"
510

@@ -33,11 +38,19 @@ missing_docs = "warn"
3338
all = "warn"
3439

3540
[profile.release]
36-
strip = "debuginfo"
41+
opt-level = 3
3742
lto = "thin"
43+
debug = "line-tables-only"
44+
strip = true
3845
panic = "unwind"
39-
codegen-units = 1
40-
incremental = false
46+
codegen-units = 16
47+
48+
# Use the `--profile profiling` flag to show symbols in release mode.
49+
# e.g. `cargo build --profile profiling`
50+
[profile.profiling]
51+
inherits = "release"
52+
debug = 2
53+
strip = false
4154

4255
[workspace.dependencies]
4356
# alphanet
@@ -57,7 +70,9 @@ alloy-signer-local = { version = "0.2", features = ["mnemonic"] }
5770
tokio = { version = "1.21", default-features = false }
5871

5972
# reth
60-
reth = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.5", features = ["optimism"] }
73+
reth = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.5", features = [
74+
"optimism",
75+
] }
6176
reth-chainspec = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.5" }
6277
reth-cli-util = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.5" }
6378
reth-node-api = { git = "https://github.com/paradigmxyz/reth.git", rev = "v1.0.5" }

0 commit comments

Comments
 (0)