From b4ec675a76cacaad2392cd92c063078632cbc898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20Dimitroff=20H=C3=B3di?= Date: Tue, 19 Mar 2024 00:45:37 -0300 Subject: [PATCH] Restored previous Cargo.toml version to prevent version error in heck --- node/Cargo.lock | 24 +++++++++--------------- node/Cargo.toml | 2 ++ 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/node/Cargo.lock b/node/Cargo.lock index 8fa65fa4..8f242b32 100644 --- a/node/Cargo.lock +++ b/node/Cargo.lock @@ -465,9 +465,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.3" +version = "4.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "949626d00e063efc93b6dca932419ceb5432f99769911c0b995f7e884c778813" +checksum = "c918d541ef2913577a0f9566e9ce27cb35b6df072075769e0b26cb5a554520da" dependencies = [ "clap_builder", "clap_derive", @@ -475,9 +475,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.2" +version = "4.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" +checksum = "9f3e7391dad68afb0c2ede1bf619f579a3dc9c2ec67f089baa397123a2f3d1eb" dependencies = [ "anstream", "anstyle", @@ -487,11 +487,11 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.3" +version = "4.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90239a040c80f5e14809ca132ddc4176ab33d5e17e49691793296e3fcb34d72f" +checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" dependencies = [ - "heck 0.5.0", + "heck", "proc-macro2", "quote", "syn 2.0.51", @@ -1063,12 +1063,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - [[package]] name = "hermit-abi" version = "0.3.8" @@ -2178,7 +2172,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c55e02e35260070b6f716a2423c2ff1c3bb1642ddca6f99e1f26d06268a0e2d2" dependencies = [ "bytes", - "heck 0.4.1", + "heck", "itertools 0.11.0", "log", "multimap", @@ -3913,7 +3907,7 @@ name = "zksync_protobuf_build" version = "0.1.0" dependencies = [ "anyhow", - "heck 0.4.1", + "heck", "prettyplease", "proc-macro2", "prost-build", diff --git a/node/Cargo.toml b/node/Cargo.toml index 80f955fe..0d2e3bcd 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -156,5 +156,7 @@ wildcard_dependencies = "warn" redundant_locals = "allow" needless_pass_by_ref_mut = "allow" box_default = "allow" +# remove once fix to https://github.com/rust-lang/rust-clippy/issues/11764 is available on CI. +map_identity = "allow" # &*x is not equivalent to x, because it affects borrowing in closures. borrow_deref_ref = "allow"