Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 27 additions & 22 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
[workspace]
members = [
"crates/anvil",
"crates/anvil/core",
"crates/anvil/rpc",
"crates/anvil/server",
"crates/abi",
"crates/binder",
"crates/cast",
"crates/chisel",
"crates/cli",
"crates/cli/test-utils",
"crates/common",
"crates/config",
"crates/doc",
"crates/evm",
"crates/fmt",
"crates/forge",
"crates/macros",
"crates/macros/impl",
"crates/ui",
"crates/utils",
]
members = ["crates/*"]
resolver = "2"

[workspace.package]
version = "0.2.0"
edition = "2021"
rust-version = "1.71"
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/"]

[profile.dev]
# Disabling debug info speeds up builds a bunch,
# and we don't rely on it for debugging that much
Expand Down Expand Up @@ -107,6 +96,22 @@ codegen-units = 16
package = {}

[workspace.dependencies]
foundry-abi = { path = "crates/abi" }
anvil = { path = "crates/anvil" }
foundry-binder = { path = "crates/binder" }
cast = { path = "crates/cast" }
chisel = { path = "crates/chisel" }
foundry-cli = { path = "crates/cli" }
foundry-common = { path = "crates/common" }
foundry-config = { path = "crates/config" }
forge-doc = { path = "crates/doc" }
foundry-evm = { path = "crates/evm" }
forge-fmt = { path = "crates/fmt" }
forge = { path = "crates/forge" }
foundry-macros = { path = "crates/macros" }
ui = { path = "crates/ui" }
foundry-utils = { path = "crates/utils" }

ethers = { git = "https://github.com/gakonst/ethers-rs", default-features = false }
ethers-addressbook = { git = "https://github.com/gakonst/ethers-rs", default-features = false }
ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features = false }
Expand Down
21 changes: 12 additions & 9 deletions crates/abi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
[package]
name = "foundry-abi"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
description = "Foundry's Solidity ABI bindings"
repository = "https://github.com/foundry-rs/foundry"
exclude = ["abi", "build.rs"]

version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true

[build-dependencies]
ethers-contract-abigen = { workspace = true }
ethers-contract-abigen.workspace = true
eyre = "0.6"
syn = "2.0"

[dependencies]
foundry-macros = { path = "../macros" }
foundry-macros.workspace = true

ethers-core = { workspace = true }
ethers-core.workspace = true
ethers-contract = { workspace = true, features = ["abigen"] }
ethers-providers = { workspace = true }
ethers-providers.workspace = true
12 changes: 8 additions & 4 deletions crates/anvil/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "anvil"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
description = "Foundry's local ethereum node"

version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true

[[bin]]
name = "anvil"
path = "src/anvil.rs"
Expand Down
13 changes: 9 additions & 4 deletions crates/anvil/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
[package]
name = "anvil-core"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"

version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
# foundry internal
foundry-evm = { path = "../../evm" }
revm = { version = "3", default-features = false, features = ["std", "serde", "memory_limit"] }

ethers-core = { workspace = true }
ethers-core.workspace = true
serde = { version = "1", features = ["derive"], optional = true }
serde_json = "1"
bytes = { version = "1.4" }
Expand Down
12 changes: 8 additions & 4 deletions crates/anvil/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
[package]
name = "anvil-rpc"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "RPC support"

version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
serde = { version = "1.0", features = ["derive"] }
Expand Down
11 changes: 8 additions & 3 deletions crates/anvil/server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
[package]
name = "anvil-server"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Customizable RPC server"

version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
anvil-rpc = { path = "../rpc" }

Expand Down
16 changes: 9 additions & 7 deletions crates/binder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
[package]
name = "foundry-binder"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "./README.md"
description = "Generate rust bindings for solidity projects"
repository = "https://github.com/foundry-rs/foundry"
keywords = ["ethereum", "web3", "solidity"]

version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
foundry-config = { path = "../config" }
foundry-config.workspace = true
ethers-solc = { workspace = true, features = ["async", "svm-solc", "project-util"] }
ethers-contract = { workspace = true, features = ["abigen"] }
curl = { version = "0.4", default-features = false, features = ["http2"] }
Expand Down
30 changes: 16 additions & 14 deletions crates/cast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
[package]
name = "cast"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/foundry-rs/foundry"
keywords = ["ethereum", "web3"]

version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
foundry-utils = { path = "../utils" }
foundry-evm = { path = "./../evm" }
foundry-config = { path = "./../config" }
foundry-common = { path = "./../common" }
foundry-utils.workspace = true
foundry-evm.workspace = true
foundry-config.workspace = true
foundry-common.workspace = true

ethers-etherscan = { workspace = true }
ethers-etherscan.workspace = true
ethers-contract = { workspace = true, features = ["abigen"] }
ethers-core = { workspace = true }
ethers-providers = { workspace = true }
ethers-signers = { workspace = true }
ethers-core.workspace = true
ethers-providers.workspace = true
ethers-signers.workspace = true
futures = "0.3"
eyre = "0.6"
serde = "1"
Expand Down
Loading