From 1e97003da9439fd12e11ed287031e357bcb48fa5 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Tue, 8 Aug 2023 08:22:30 -0700 Subject: [PATCH] Update to latest rayon This is also a tiny perf win (2.467B instructions to 2.429B instructions for slow_before.rs). --- Cargo.lock | 8 ++++---- Cargo.toml | 5 ++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e93ea50913..f67a90cfb7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -651,9 +651,9 @@ checksum = "59ffec9df464013295b499298811e6a3de31bf8128092135826517db12dee601" [[package]] name = "rayon" -version = "1.6.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7" +checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" dependencies = [ "either", "rayon-core", @@ -661,9 +661,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.10.1" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cac410af5d00ab6884528b4ab69d1e8e146e8d471201800fa1b4524126de6ad3" +checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" dependencies = [ "crossbeam-channel", "crossbeam-deque", diff --git a/Cargo.toml b/Cargo.toml index eeac57043e..17cb5c266d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,8 +53,7 @@ walkdir = "2.3.3" const_format = "0.2.22" owo-colors = "3.5.0" wu-diff = "0.1.2" -# rayon 1.7 requires rust 1.59 -rayon = "1.6.1" +rayon = "1.7.0" tree_magic_mini = "3.0.2" # bumpalo 3.12 requires rust 1.60 bumpalo = "3.11.1" @@ -75,7 +74,7 @@ pretty_assertions = "1.3.0" [build-dependencies] cc = "1.0.78" -rayon = "1.6.1" +rayon = "1.7.0" version_check = "0.9.4" [profile.release]