From 88db118403d0c303130bb7e201af6eab4a8023cf Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Thu, 23 Jan 2025 15:09:07 -0600 Subject: [PATCH] chore: use patch --- Cargo.lock | 5 +---- Cargo.toml | 5 ++++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3e369eb..27b2926 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -64,12 +64,10 @@ dependencies = [ [[package]] name = "alloy-chains" version = "0.1.57" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ab9d1367c6ffb90c93fb4a9a4989530aa85112438c6f73a734067255d348469" +source = "git+https://github.com/alloy-rs/chains?tag=v0.1.57#e4d7a1978795faa86e1f832b48e7ba9578002ec5" dependencies = [ "alloy-primitives", "num_enum", - "serde", "strum", ] @@ -676,7 +674,6 @@ name = "alloy-zksync" version = "0.9.0" dependencies = [ "alloy", - "alloy-chains", "alloy-consensus-any", "anyhow", "assert_matches", diff --git a/Cargo.toml b/Cargo.toml index e5c91f2..d64c6b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,6 @@ alloy = { version = "0.9.2", features = [ "sol-types", ] } # TODO: Set features granularly? alloy-consensus-any = { version = "0.9.2" } -alloy-chains = "0.1.57" async-trait = "0.1.80" chrono = { version = "0.4.38", features = ["serde"] } futures-utils-wasm = "0.1.0" @@ -33,3 +32,7 @@ hex = "0.4.3" assert_matches = "1.5.0" serde_json = "1.0.1" jsonrpsee = { version = "0.24.7", features = ["server"] } + +[patch.crates-io] +alloy-chains = { git = "https://github.com/alloy-rs/chains", tag = "v0.1.57" } +