From a33cdba1732aba42327e7c2e2044a4a08f175214 Mon Sep 17 00:00:00 2001 From: Avery Winters Date: Mon, 18 Mar 2024 15:08:00 -0500 Subject: [PATCH] Pin ahash version for aes instructions --- Cargo.lock | 23 +++++++++++++++++++++-- calculate/Cargo.toml | 4 +++- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 458131e..8b2305e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,11 +4,12 @@ version = 3 [[package]] name = "ahash" -version = "0.8.11" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" +checksum = "42cd52102d3df161c77a887b608d7a4897d7cc112886a9537b738a887a03aaff" dependencies = [ "cfg-if", + "getrandom", "once_cell", "version_check", "zerocopy", @@ -78,6 +79,7 @@ checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" name = "bilrow-calculate" version = "0.1.0" dependencies = [ + "ahash", "anyhow", "clap", "hashbrown", @@ -173,6 +175,17 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +[[package]] +name = "getrandom" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + [[package]] name = "hashbrown" version = "0.14.3" @@ -315,6 +328,12 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + [[package]] name = "windows-sys" version = "0.52.0" diff --git a/calculate/Cargo.toml b/calculate/Cargo.toml index b68254d..39665c7 100644 --- a/calculate/Cargo.toml +++ b/calculate/Cargo.toml @@ -7,8 +7,10 @@ edition = "2021" [dependencies] clap = { version = "4.5.2", features = ["derive"] } +# This is the latest version that actually uses AES on arm64 +ahash = "=0.8.8" anyhow = "1.0.80" indicatif = "0.17.8" memchr = "2.7.1" memmap2 = "0.9.4" -hashbrown = "0.14.3" \ No newline at end of file +hashbrown = "0.14.3"