From a04c7cdcd820a0e8187fa813532cbedd4d9dee1d Mon Sep 17 00:00:00 2001 From: rakita Date: Sun, 12 May 2024 15:16:20 +0300 Subject: [PATCH] chore: remove alloydb example as the crate is not published (#1398) --- Cargo.lock | 2 -- crates/revm/Cargo.toml | 29 +++++++++++++++-------------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a6e1d0203b..c08fc32083 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2924,9 +2924,7 @@ name = "revm" version = "9.0.0" dependencies = [ "alloy-provider", - "alloy-rpc-types", "alloy-sol-types", - "alloy-transport", "alloy-transport-http", "anyhow", "auto_impl", diff --git a/crates/revm/Cargo.toml b/crates/revm/Cargo.toml index 5f2407ec7e..9f9c9db9f0 100644 --- a/crates/revm/Cargo.toml +++ b/crates/revm/Cargo.toml @@ -49,9 +49,9 @@ ethers-providers = { version = "2.0", optional = true } ethers-core = { version = "2.0", optional = true } # alloydb -alloy-provider = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false } -alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false } -alloy-transport = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false } +# alloy-provider = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false } +# alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false } +# alloy-transport = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false } [dev-dependencies] alloy-sol-types = { version = "0.7.0", default-features = false, features = [ @@ -106,13 +106,14 @@ ethersdb = [ "ethers-core", ] # Negate optimism default handler -alloydb = [ - "std", - "tokio", - "alloy-provider", - "alloy-rpc-types", - "alloy-transport", -] +# +# alloydb = [ +# "std", +# "tokio", +# "alloy-provider", +# "alloy-rpc-types", +# "alloy-transport", +# ] dev = [ "memory_limit", @@ -151,10 +152,10 @@ name = "db_by_ref" path = "../../examples/db_by_ref.rs" required-features = ["std", "serde-json"] -[[example]] -name = "uniswap_v2_usdc_swap" -path = "../../examples/uniswap_v2_usdc_swap.rs" -required-features = ["alloydb"] +#[[example]] +#name = "uniswap_v2_usdc_swap" +#path = "../../examples/uniswap_v2_usdc_swap.rs" +#required-features = ["alloydb"] [[bench]] name = "bench"