From 4f4e9b0776bc8c7e3c44aff47385eb33dc6e26bd Mon Sep 17 00:00:00 2001 From: Anders Musikka Date: Sun, 24 Aug 2025 10:27:58 +0200 Subject: [PATCH] Downgrade criterion for 1.75 compat --- arcshift_bench/Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arcshift_bench/Cargo.toml b/arcshift_bench/Cargo.toml index a1cec2f..06c88e6 100644 --- a/arcshift_bench/Cargo.toml +++ b/arcshift_bench/Cargo.toml @@ -7,7 +7,12 @@ edition = "2021" [dev-dependencies] -criterion = "0.3" +# Expliclitly choose older versions, since newer versions don't support rust 1.75. +# Running these old versions in test should be fine. This code does not end up +# in the final library. +criterion = "0.3.6" +rayon-core = "=1.11.0" +half = "=2.4" [dependencies] arcshift = {path = "../arcshift"}