From 5b06e467aaa145eac7be94878dd1ad90646e3bc2 Mon Sep 17 00:00:00 2001 From: yihau Date: Wed, 3 Jan 2024 12:43:54 +0800 Subject: [PATCH] pin ahash to 0.8.4 --- Cargo.toml | 2 +- programs/sbf/Cargo.lock | 31 ++++++++++++++++++++++++++----- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ff7d47cdc2acfd..7a090c8ae2216c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -132,7 +132,7 @@ edition = "2021" [workspace.dependencies] aes-gcm-siv = "0.10.3" -ahash = "0.8.3" +ahash = "=0.8.4" anyhow = "1.0.75" ark-bn254 = "0.4.0" ark-ec = "0.4.0" diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index 892075ffe04c3f..b6917399b38d35 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -76,14 +76,15 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +checksum = "72832d73be48bac96a5d7944568f305d829ed55b0ce3b483647089dfaf6cf704" dependencies = [ "cfg-if 1.0.0", "getrandom 0.2.10", "once_cell", "version_check", + "zerocopy", ] [[package]] @@ -1940,7 +1941,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.4", ] [[package]] @@ -4923,7 +4924,7 @@ dependencies = [ name = "solana-frozen-abi" version = "1.17.15" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.4", "blake3", "block-buffer 0.10.4", "bs58", @@ -5188,7 +5189,7 @@ dependencies = [ name = "solana-perf" version = "1.17.15" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.4", "bincode", "bv", "caps", @@ -7940,6 +7941,26 @@ dependencies = [ "time", ] +[[package]] +name = "zerocopy" +version = "0.7.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.37", +] + [[package]] name = "zeroize" version = "1.3.0"