Skip to content

Commit

Permalink
Enable test_utils within pool crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzejkop committed Dec 16, 2024
1 parent 994bf51 commit a77adca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions world-chain-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,4 @@ ethers-core = { git = "https://github.com/gakonst/ethers-rs", default-features =
serde_json = "1"
rand = "0.8"
reqwest = { version = "0.12", default-features = false }

9 changes: 3 additions & 6 deletions world-chain-builder/crates/world/pool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,23 @@ alloy-primitives.workspace = true
alloy-rpc-types.workspace = true
alloy-eips.workspace = true

# 3rd party
tokio.workspace = true
semaphore.workspace = true
chrono.workspace = true
eyre.workspace = true
thiserror.workspace = true

tracing.workspace = true
parking_lot.workspace = true

tempfile = {workspace = true, optional = true}

tempfile = {workspace = true}

[dev-dependencies]
ethers-core.workspace = true
test-case.workspace = true
tempfile.workspace = true

[features]
default = []
test = ["dep:tempfile"]
test = []

[lints]
workspace = true
3 changes: 2 additions & 1 deletion world-chain-builder/crates/world/pool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ pub mod root;
pub mod tx;
pub mod validator;

#[cfg(feature = "test")]
#[cfg(any(feature = "test", test))]
pub mod test_utils;

0 comments on commit a77adca

Please sign in to comment.