Skip to content

Commit

Permalink
Bring more dependencies to workspace level (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashtare authored Feb 14, 2024
1 parent c910e54 commit 6347cee
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 15 deletions.
12 changes: 12 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,27 @@ resolver = "2"
[workspace.dependencies]
bytes = "1.5.0"
enum-as-inner = "0.6.0"
env_logger = "0.10.0"
ethereum-types = "0.14.1"
hex = "0.4.3"
hex-literal = "0.4.1"
keccak-hash = "0.10.0"
log = "0.4.20"
num = "0.4.1"
rand = "0.8.5"
rlp = "0.5.2"
rlp-derive = "0.1.0"
serde = "1.0.166"
serde_json = "1.0.96"
thiserror = "1.0.49"

# plonky2-related dependencies
# TODO: Switch to versioning whenever possible
plonky2 = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "710225c9e0ac5822b2965ce74951cf000bbb8a2c" }
plonky2_maybe_rayon = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "710225c9e0ac5822b2965ce74951cf000bbb8a2c" }
plonky2_util = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "710225c9e0ac5822b2965ce74951cf000bbb8a2c" }
starky = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "710225c9e0ac5822b2965ce74951cf000bbb8a2c" }


[workspace.package]
edition = "2021"
Expand Down
16 changes: 8 additions & 8 deletions evm_arithmetization/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,31 @@ keywords.workspace = true
[dependencies]
anyhow = "1.0.40"
bytes = { workspace = true }
env_logger = "0.10.0"
ethereum-types = "0.14.0"
env_logger = { workspace = true }
ethereum-types = { workspace = true }
hex = { workspace = true, optional = true }
hex-literal = { workspace = true }
itertools = "0.11.0"
keccak-hash = { workspace = true }
log = { workspace = true }
plonky2_maybe_rayon = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "710225c9e0ac5822b2965ce74951cf000bbb8a2c" }
plonky2_maybe_rayon = { workspace = true }
num = { workspace = true }
num-bigint = "0.4.3"
once_cell = "1.13.0"
pest = "2.1.3"
pest_derive = "2.1.0"
plonky2 = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "710225c9e0ac5822b2965ce74951cf000bbb8a2c" }
plonky2_util = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "710225c9e0ac5822b2965ce74951cf000bbb8a2c" }
starky = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "710225c9e0ac5822b2965ce74951cf000bbb8a2c" }
rand = "0.8.5"
plonky2 = { workspace = true }
plonky2_util = { workspace = true }
starky = { workspace = true }
rand = { workspace = true }
rand_chacha = "0.3.1"
rlp = { workspace = true }
rlp-derive = { workspace = true }
serde = { workspace = true, features = ["derive"] }
static_assertions = "1.1.0"
hashbrown = { version = "0.14.0" }
tiny-keccak = "2.0.2"
serde_json = "1.0"
serde_json = { workspace = true }

# Local dependencies
mpt_trie = { version = "0.1.0", path = "../mpt_trie" }
Expand Down
9 changes: 4 additions & 5 deletions mpt_trie/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ethereum-types = { workspace = true }
hex = { workspace = true }
keccak-hash = { workspace = true }
parking_lot = { version = "0.12.1", features = ["serde"] }
thiserror = "1.0.40"
thiserror = { workspace = true }
log = { workspace = true }
num = { workspace = true, optional = true }
num-traits = "0.2.15"
Expand All @@ -31,10 +31,9 @@ serde = { workspace = true, features = ["derive", "rc"] }
[dev-dependencies]
eth_trie = "0.4.0"
pretty_env_logger = "0.5.0"
rand = "0.8.5"
rlp-derive = "0.1.0"
serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96"
rand = { workspace = true }
rlp-derive = { workspace = true }
serde_json = { workspace = true }

[features]
default = ["trie_debug"]
Expand Down
2 changes: 1 addition & 1 deletion proof_gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ keywords.workspace = true
ethereum-types = { workspace = true }
log = { workspace = true }
paste = "1.0.14"
plonky2 = { git = "https://github.com/0xPolygonZero/plonky2.git", rev = "710225c9e0ac5822b2965ce74951cf000bbb8a2c" }
plonky2 = { workspace = true }
serde = { workspace = true }

# Local dependencies
Expand Down
2 changes: 1 addition & 1 deletion trace_decoder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ rlp = { workspace = true }
rlp-derive = { workspace = true }
serde = { workspace = true }
serde_with = "3.4.0"
thiserror = "1.0.49"
thiserror = { workspace = true }

# Local dependencies
mpt_trie = { version = "0.1.0", path = "../mpt_trie" }
Expand Down

0 comments on commit 6347cee

Please sign in to comment.