Skip to content

Commit

Permalink
Merge pull request 0xPolygonZero#50 from topos-protocol/workspace
Browse files Browse the repository at this point in the history
Reorganize workspace dependencies
  • Loading branch information
Nashtare committed Jan 17, 2024
2 parents 5f0cec4 + e01f4b3 commit ffe20d0
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 38 deletions.
24 changes: 24 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,30 @@ members = [
"common",
]

[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["Polygon Zero <[email protected]>"]
repository = "https://github.com/0xPolygonZero/evm-tests"
keywords = ["cryptography", "SNARK", "PLONK", "FRI", "plonky2"]
categories = ["cryptography"]

[workspace.dependencies]
anyhow = { version = "1.0.71", features = ["backtrace"] }
clap = {version = "4.2.7", features = ["derive"] }
ethereum-types = "0.14.1"
eth_trie_utils = { git = "https://github.com/0xPolygonZero/eth_trie_utils.git", rev = "7fc3c3f54b3cec9c6fc5ffc5230910bd1cb77f76" }
flexi_logger = { version = "0.25.4", features = ["async"] }
futures = "0.3.28"
keccak-hash = "0.10.0"
log = "0.4.17"
plonky2 = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "b119e96f7f8dee57ebdbc6738e96891d2e628520" }
plonky2_evm = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "b119e96f7f8dee57ebdbc6738e96891d2e628520" }
serde = "1.0.163"
serde_cbor = "0.11.2"
tokio = { version = "1.28.1" }

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
20 changes: 12 additions & 8 deletions common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@
name = "common"
description = "Common logic shared between the parser and the runner."
version = "0.1.0"
authors = ["Polygon Zero <[email protected]>"]
edition = "2021"
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = { version = "1.0.71", features = ["backtrace"] }
ethereum-types = "0.14.1"
eth_trie_utils = { git = "https://github.com/0xPolygonZero/eth_trie_utils.git", rev = "7fc3c3f54b3cec9c6fc5ffc5230910bd1cb77f76" }
flexi_logger = { version = "0.25.4", features = ["async"] }
plonky2_evm = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "b119e96f7f8dee57ebdbc6738e96891d2e628520" }
serde = {version = "1.0.163", features = ["derive"] }
anyhow = { workspace = true }
ethereum-types = { workspace = true }
eth_trie_utils = { workspace = true }
flexi_logger = { workspace = true }
plonky2_evm = { workspace = true }
serde = { workspace = true, features = ["derive"] }
32 changes: 18 additions & 14 deletions eth_test_parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,33 @@
name = "eth_test_parser"
description = "Downloads and parses common Ethereum tests into a format runnable by Polygon Zero's EVM."
version = "0.1.0"
authors = ["Polygon Zero <[email protected]>"]
edition = "2021"
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
common = { path = "../common" }
eth_trie_utils = { git = "https://github.com/0xPolygonZero/eth_trie_utils.git", rev = "7fc3c3f54b3cec9c6fc5ffc5230910bd1cb77f76" }
plonky2_evm = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "b119e96f7f8dee57ebdbc6738e96891d2e628520" }
eth_trie_utils = { workspace = true }
plonky2_evm = { workspace = true }

anyhow = { version = "1.0.71", features = ["backtrace"] }
anyhow = { workspace = true }
bytes = "1.4.0"
clap = {version = "4.2.7", features = ["derive"] }
ethereum-types = "0.14.1"
clap = { workspace = true }
ethereum-types = { workspace = true }
flexi_logger = { workspace = true }
futures = { workspace = true }
hex = { version = "0.4.3", features = ["serde"] }
flexi_logger = { version = "0.25.4", features = ["async"] }
keccak-hash = "0.10.0"
log = "0.4.17"
keccak-hash = { workspace = true }
log = { workspace = true }
rlp = "0.5.2"
rlp-derive = "0.1.0"
serde = "1.0.163"
serde = { workspace = true }
serde_json = "1.0.96"
serde_with = "3.0.0"
serde_cbor = "0.11.2"
tokio = { version = "1.28.1", features = ["full"] }
futures = "0.3.28"
serde_cbor = { workspace = true }
tokio = { workspace = true, features = ["full"] }
36 changes: 20 additions & 16 deletions evm_test_runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,37 @@
name = "evm_test_runner"
description = "Test runner for Polygon Zero's EVM."
version = "0.1.0"
authors = ["Polygon Zero <[email protected]>"]
edition = "2021"
edition.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
common = { path = "../common" }
plonky2 = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "b119e96f7f8dee57ebdbc6738e96891d2e628520" }
plonky2_evm = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "b119e96f7f8dee57ebdbc6738e96891d2e628520" }
plonky2 = { workspace = true }
plonky2_evm = { workspace = true }

anyhow = { version = "1.0", features = ["backtrace"] }
anyhow = { workspace = true }
askama = "0.12.0"
chrono = { version = "0.4.24", features = ["serde"] }
clap = {version = "4.2.7", features = ["derive"] }
clap = { workspace = true }
console = "0.15.6"
csv = "1.2.1"
ctrlc = "3.2.5"
ethereum-types = "0.14.1"
flexi_logger = { version = "0.25.4", features = ["async"] }
futures = "0.3"
ethereum-types = { workspace = true }
flexi_logger = { workspace = true }
futures = { workspace = true }
humantime = "2.1.0"
indicatif = "0.17.3"
log = "0.4.17"
serde = "1.0.163"
serde_cbor = "0.11.2"
keccak-hash = { workspace = true }
log = { workspace = true }
serde = { workspace = true }
serde_cbor = { workspace = true }
similar = { version = "2.2.1", features = ["inline"] }
termimad = "0.23.0"
tokio = {version = "1.28.1", features = ["fs", "macros", "rt-multi-thread"] }
tokio = { workspace = true, features = ["fs", "macros", "rt-multi-thread"] }
tokio-stream = {version = "0.1.14", features = ["fs"] }
similar = { version = "2.2.1", features = ["inline"] }
keccak-hash = "0.10.0"
console = "0.15.6"

0 comments on commit ffe20d0

Please sign in to comment.