Skip to content

Commit

Permalink
chore: use path deps for book
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg committed Oct 23, 2024
1 parent 6c18213 commit 5188ac7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 18 deletions.
10 changes: 5 additions & 5 deletions book/sources/exex/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ version = "0.1.0"
edition = "2021"

[dependencies]
reth = { git = "https://github.com/paradigmxyz/reth.git" } # Reth
reth-exex = { git = "https://github.com/paradigmxyz/reth.git" } # Execution Extensions
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth.git" } # Ethereum Node implementation
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git" } # Logging
reth = { path = "../../../../bin/reth" } # Reth
reth-exex = { path = "../../../../crates/exex/exex" } # Execution Extensions
reth-node-ethereum = { path = "../../../../crates/ethereum/node" } # Ethereum Node implementation
reth-tracing = { path = "../../../../crates/tracing" } # Logging

eyre = "0.6" # Easy error handling
eyre = "0.6" # Easy error handling
futures-util = "0.3" # Stream utilities for consuming notifications
12 changes: 5 additions & 7 deletions book/sources/exex/remote/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ edition = "2021"

[dependencies]
# reth
reth = { git = "https://github.com/paradigmxyz/reth.git" }
reth-exex = { git = "https://github.com/paradigmxyz/reth.git", features = [
"serde",
] }
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth.git" }
reth-node-api = { git = "https://github.com/paradigmxyz/reth.git" }
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git" }
reth = { path = "../../../../bin/reth" }
reth-exex = { path = "../../../../crates/exex/exex", features = ["serde"] }
reth-node-ethereum = { path = "../../../../crates/ethereum/node" }
reth-node-api = { path = "../../../../crates/node/api" }
reth-tracing = { path = "../../../../crates/tracing" }

# async
tokio = { version = "1", features = ["full"] }
Expand Down
12 changes: 6 additions & 6 deletions book/sources/exex/tracking-state/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ version = "0.1.0"
edition = "2021"

[dependencies]
reth = { git = "https://github.com/paradigmxyz/reth.git" }
reth-exex = { git = "https://github.com/paradigmxyz/reth.git", features = ["serde"] }
reth-node-ethereum = { git = "https://github.com/paradigmxyz/reth.git"}
reth-tracing = { git = "https://github.com/paradigmxyz/reth.git" }
reth = { path = "../../../../bin/reth" }
reth-exex = { path = "../../../../crates/exex/exex", features = ["serde"] }
reth-node-ethereum = { path = "../../../../crates/ethereum/node" }
reth-tracing = { path = "../../../../crates/tracing" }

eyre = "0.6" # Easy error handling
futures-util = "0.3" # Stream utilities for consuming notifications
eyre = "0.6" # Easy error handling
futures-util = "0.3" # Stream utilities for consuming notifications
alloy-primitives = "0.8.7"

0 comments on commit 5188ac7

Please sign in to comment.