Skip to content

Commit 32b2272

Browse files
committed
Revert "chore: remove alloydb example as the crate is not published (bluealloy#1398)"
This reverts commit a04c7cd.
1 parent a68c009 commit 32b2272

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/revm/Cargo.toml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ ethers-providers = { version = "2.0", optional = true }
4949
ethers-core = { version = "2.0", optional = true }
5050

5151
# alloydb
52-
# alloy-provider = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false }
53-
# alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false }
54-
# alloy-transport = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false }
52+
alloy-provider = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false }
53+
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false }
54+
alloy-transport = { git = "https://github.com/alloy-rs/alloy.git", rev = "44b8a6d", optional = true, default-features = false }
5555

5656
[dev-dependencies]
5757
alloy-sol-types = { version = "0.7.0", default-features = false, features = [
@@ -106,14 +106,13 @@ ethersdb = [
106106
"ethers-core",
107107
] # Negate optimism default handler
108108

109-
#
110-
# alloydb = [
111-
# "std",
112-
# "tokio",
113-
# "alloy-provider",
114-
# "alloy-rpc-types",
115-
# "alloy-transport",
116-
# ]
109+
alloydb = [
110+
"std",
111+
"tokio",
112+
"alloy-provider",
113+
"alloy-rpc-types",
114+
"alloy-transport",
115+
]
117116

118117
dev = [
119118
"memory_limit",
@@ -152,10 +151,10 @@ name = "db_by_ref"
152151
path = "../../examples/db_by_ref.rs"
153152
required-features = ["std", "serde-json"]
154153

155-
#[[example]]
156-
#name = "uniswap_v2_usdc_swap"
157-
#path = "../../examples/uniswap_v2_usdc_swap.rs"
158-
#required-features = ["alloydb"]
154+
[[example]]
155+
name = "uniswap_v2_usdc_swap"
156+
path = "../../examples/uniswap_v2_usdc_swap.rs"
157+
required-features = ["alloydb"]
159158

160159
[[bench]]
161160
name = "bench"

0 commit comments

Comments
 (0)