1 Star 1 Fork 0

Credhat/foundry-mirror

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Cargo.toml 7.75 KB
一键复制 编辑 原始数据 按行查看 历史
[workspace]
members = [
"crates/anvil/",
"crates/anvil/core/",
"crates/anvil/rpc/",
"crates/anvil/server/",
"crates/cast/",
"crates/cheatcodes/",
"crates/cheatcodes/spec/",
"crates/chisel/",
"crates/cli/",
"crates/common/",
"crates/config/",
"crates/debugger/",
"crates/doc/",
"crates/evm/core/",
"crates/evm/coverage/",
"crates/evm/evm/",
"crates/evm/fuzz/",
"crates/evm/traces/",
"crates/fmt/",
"crates/forge/",
"crates/macros/",
"crates/test-utils/",
]
resolver = "2"
[workspace.package]
version = "0.2.0"
edition = "2021"
# Remember to update clippy.toml as well
rust-version = "1.76"
authors = ["Foundry Contributors"]
license = "MIT OR Apache-2.0"
homepage = "https://github.com/foundry-rs/foundry"
repository = "https://github.com/foundry-rs/foundry"
exclude = ["benches/", "tests/", "test-data/", "testdata/"]
# Speed up compilation time for dev builds by reducing emitted debug info.
# NOTE: Debuggers may provide less useful information with this setting.
# Uncomment this section if you're using a debugger.
[profile.dev]
debug = 1
# Speed up tests and dev build.
[profile.dev.package]
# Solc and artifacts
foundry-compilers.opt-level = 3
solang-parser.opt-level = 3
lalrpop-util.opt-level = 3
serde_json.opt-level = 3
# EVM
alloy-dyn-abi.opt-level = 3
alloy-json-abi.opt-level = 3
alloy-primitives.opt-level = 3
alloy-sol-type-parser.opt-level = 3
alloy-sol-types.opt-level = 3
hashbrown.opt-level = 3
keccak.opt-level = 3
revm-interpreter.opt-level = 3
revm-precompile.opt-level = 3
revm-primitives.opt-level = 3
revm.opt-level = 3
ruint.opt-level = 3
sha2.opt-level = 3
sha3.opt-level = 3
tiny-keccak.opt-level = 3
bitvec.opt-level = 3
# fuzzing
proptest.opt-level = 3
foundry-evm-fuzz.opt-level = 3
# forking
axum.opt-level = 3
# keystores
scrypt.opt-level = 3
# Local "release" mode, more optimized than dev but much faster to compile than release.
[profile.local]
inherits = "dev"
opt-level = 1
strip = "debuginfo"
panic = "abort"
codegen-units = 16
# Like release, but with full debug symbols and with stack unwinds. Useful for e.g. `perf`.
[profile.debug-fast]
inherits = "release"
debug = true
strip = "none"
panic = "unwind"
incremental = false
# Optimized release profile.
[profile.release]
opt-level = 3
debug = "line-tables-only"
lto = "fat"
strip = "debuginfo"
panic = "abort"
codegen-units = 1
# Override packages which aren't perf-sensitive for faster compilation speed.
[profile.release.package]
mdbook.opt-level = 1
protobuf.opt-level = 1
toml_edit.opt-level = 1
trezor-client.opt-level = 1
[workspace.dependencies]
anvil = { path = "crates/anvil" }
cast = { path = "crates/cast" }
chisel = { path = "crates/chisel" }
forge = { path = "crates/forge" }
forge-doc = { path = "crates/doc" }
forge-fmt = { path = "crates/fmt" }
forge-verify = { path = "crates/verify" }
forge-script = { path = "crates/script" }
foundry-cheatcodes = { path = "crates/cheatcodes" }
foundry-cheatcodes-spec = { path = "crates/cheatcodes/spec" }
foundry-cli = { path = "crates/cli" }
foundry-common = { path = "crates/common" }
foundry-config = { path = "crates/config" }
foundry-debugger = { path = "crates/debugger" }
foundry-evm = { path = "crates/evm/evm" }
foundry-evm-core = { path = "crates/evm/core" }
foundry-evm-coverage = { path = "crates/evm/coverage" }
foundry-evm-fuzz = { path = "crates/evm/fuzz" }
foundry-evm-traces = { path = "crates/evm/traces" }
foundry-macros = { path = "crates/macros" }
foundry-test-utils = { path = "crates/test-utils" }
foundry-wallets = { path = "crates/wallets" }
foundry-linking = { path = "crates/linking" }
# solc & compilation utilities
foundry-block-explorers = { version = "0.2.6", default-features = false }
foundry-compilers = { version = "0.3.17", default-features = false }
## revm
# no default features to avoid c-kzg
revm = { version = "8", default-features = false }
revm-primitives = { version = "3", default-features = false }
revm-inspectors = { git = "https://github.com/paradigmxyz/evm-inspectors", rev = "413b892", features = [
"serde",
] }
## ethers
ethers = { version = "2.0.14", default-features = false }
ethers-core = { version = "2.0.14", default-features = false }
ethers-contract = { version = "2.0.14", default-features = false }
ethers-contract-abigen = { version = "2.0.14", default-features = false }
ethers-providers = { version = "2.0.14", default-features = false }
ethers-signers = { version = "2.0.14", default-features = false }
ethers-middleware = { version = "2.0.14", default-features = false }
## alloy
alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-contract = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-eips = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-genesis = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-json-rpc = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-network = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-node-bindings = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-pubsub = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-rpc-types-trace = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-signer = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-signer-wallet = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-signer-aws = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-signer-ledger = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-signer-trezor = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-transport = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-transport-http = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-transport-ipc = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-transport-ws = { git = "https://github.com/alloy-rs/alloy", rev = "7629f79", default-features = false }
alloy-primitives = { version = "0.7.0", features = ["getrandom"] }
alloy-dyn-abi = "0.7.0"
alloy-json-abi = "0.7.0"
alloy-sol-types = "0.7.0"
syn-solidity = "0.7.0"
alloy-chains = "0.1"
alloy-trie = "0.3.1"
alloy-rlp = "0.3.3"
solang-parser = "=0.3.3"
## misc
arrayvec = "0.7"
base64 = "0.22"
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
color-eyre = "0.6"
derive_more = "0.99"
evm-disassembler = "0.5"
eyre = "0.6"
hex = { package = "const-hex", version = "1.6", features = ["hex"] }
itertools = "0.12"
jsonpath_lib = "0.3"
k256 = "0.13"
pretty_assertions = "1.4"
rand = "0.8"
rustc-hash = "1.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["arbitrary_precision"] }
strum = "0.26"
toml = "0.8"
tracing = "0.1"
tracing-subscriber = "0.3"
vergen = { version = "8", default-features = false }
indexmap = "2.2"
tikv-jemallocator = "0.5.4"
num-format = "0.4.4"
axum = "0.7"
hyper = "1.0"
reqwest = { version = "0.12", default-features = false }
tower = "0.4"
tower-http = "0.5"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Rust
1
https://gitee.com/Credhat/foundry-mirror.git
git@gitee.com:Credhat/foundry-mirror.git
Credhat
foundry-mirror
foundry-mirror
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385