Skip to content

Commit

Permalink
Revert "chore: remove alloydb example as the crate is not published (b…
Browse files Browse the repository at this point in the history
…luealloy#1398)"

This reverts commit a04c7cd.
  • Loading branch information
kien-rise committed May 22, 2024
1 parent a68c009 commit 32b2272
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 14 additions & 15 deletions crates/revm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -106,14 +106,13 @@ 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",
Expand Down Expand Up @@ -152,10 +151,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"
Expand Down

0 comments on commit 32b2272

Please sign in to comment.