Skip to content

Commit ea50719

Browse files
committed
make alloy-rpc-types optional
1 parent d19ff3d commit ea50719

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ version = "0.5.0"
44
edition = "2021"
55

66
[features]
7-
eth = [ "ethers-core" ]
7+
eth = [ "ethers-core", "alloy-rpc-types" ]
88

99
[dependencies]
10-
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy.git", rev = "3b1c310" }
10+
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy.git", rev = "3b1c310", optional = true }
1111
anyhow = "1.0"
1212
bincode = "1.3.3"
1313
ethers-core = { version = "2.0.11", optional = true }

0 commit comments

Comments
 (0)