forked from foundry-rs/foundry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
88 lines (79 loc) · 2.51 KB
/
Cargo.toml
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
[workspace]
members = [
"anvil",
"anvil/core",
"anvil/rpc",
"anvil/server",
"abi",
"binder",
"cast",
"chisel",
"cli",
"cli/test-utils",
"common",
"config",
"doc",
"evm",
"fmt",
"forge",
"macros",
"macros/impl",
"ui",
"utils",
]
resolver = "2"
[profile.dev]
# Disabling debug info speeds up builds a bunch,
# and we don't rely on it for debugging that much
debug = 0
# These speed up local tests
[profile.dev.package.ethers-solc]
opt-level = 3
[profile.dev.package.revm]
opt-level = 3
# These speed up all forge script related integration tests
[profile.test.package.axum]
opt-level = 3
# Local "release" mode, more optimized than dev but much faster to compile than release
[profile.local]
inherits = "dev"
opt-level = 3
# Set this to 1 or 2 to get more useful backtraces
debug = 0
panic = 'unwind'
# better recompile times
incremental = true
codegen-units = 16
[profile.release]
# Optimize for binary size, but keep loop vectorization
opt-level = "s"
# Performance optimizations
lto = "fat"
debug = 0
strip = true
panic = "abort"
codegen-units = 1
[workspace.dependencies]
ethers = { version = "2.0.7", default-features = false }
ethers-addressbook = { version = "2.0.7", default-features = false }
ethers-core = { version = "2.0.7", default-features = false }
ethers-contract = { version = "2.0.7", default-features = false }
ethers-contract-abigen = { version = "2.0.7", default-features = false }
ethers-providers = { version = "2.0.7", default-features = false }
ethers-signers = { version = "2.0.7", default-features = false }
ethers-middleware = { version = "2.0.7", default-features = false }
ethers-etherscan = { version = "2.0.7", default-features = false }
ethers-solc = { version = "2.0.7", default-features = false }
solang-parser = "=0.3.0"
[patch.crates-io]
# ethers = { path = "../ethers-rs/ethers" }
# ethers-addressbook = { path = "../ethers-rs/ethers-addressbook" }
# ethers-contract = { path = "../ethers-rs/ethers-contract" }
# ethers-contract-abigen = { path = "../ethers-rs/ethers-contract/ethers-contract-abigen" }
# ethers-core = { path = "../ethers-rs/ethers-core" }
# ethers-etherscan = { path = "../ethers-rs/ethers-etherscan" }
# ethers-middleware = { path = "../ethers-rs/ethers-middleware" }
# ethers-providers = { path = "../ethers-rs/ethers-providers" }
# ethers-signers = { path = "../ethers-rs/ethers-signers" }
# ethers-solc = { path = "../ethers-rs/ethers-solc" }
revm = { git = "https://github.com/bluealloy/revm/", branch = "release/v25" }