changeset 50100:812a9fbf4380 stable

rust: upgrade minimum `rayon` dependency The 1.6.0 and 1.6.1 releases fixes a soundness issue and a performance issue that are both important to us, since both correctness and performance are paramount in the Rust extensions.
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 16 Feb 2023 11:42:34 +0100
parents 889d2a2e9326
children 593f5e4076ff
files rust/Cargo.lock rust/hg-core/Cargo.toml rust/rhg/Cargo.toml
diffstat 3 files changed, 8 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/rust/Cargo.lock	Sat Feb 18 01:21:51 2023 +0100
+++ b/rust/Cargo.lock	Thu Feb 16 11:42:34 2023 +0100
@@ -232,9 +232,9 @@
 
 [[package]]
 name = "crossbeam-deque"
-version = "0.8.0"
+version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9"
+checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc"
 dependencies = [
  "cfg-if 1.0.0",
  "crossbeam-epoch",
@@ -916,26 +916,23 @@
 
 [[package]]
 name = "rayon"
-version = "1.5.1"
+version = "1.6.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90"
+checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7"
 dependencies = [
- "autocfg",
- "crossbeam-deque",
  "either",
  "rayon-core",
 ]
 
 [[package]]
 name = "rayon-core"
-version = "1.9.1"
+version = "1.10.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e"
+checksum = "356a0625f1954f730c0201cdab48611198dc6ce21f4acff55089b5a78e6e835b"
 dependencies = [
  "crossbeam-channel",
  "crossbeam-deque",
  "crossbeam-utils",
- "lazy_static",
  "num_cpus",
 ]
 
--- a/rust/hg-core/Cargo.toml	Sat Feb 18 01:21:51 2023 +0100
+++ b/rust/hg-core/Cargo.toml	Thu Feb 16 11:42:34 2023 +0100
@@ -23,7 +23,7 @@
 rand = "0.8.4"
 rand_pcg = "0.3.1"
 rand_distr = "0.4.3"
-rayon = "1.5.1"
+rayon = "1.6.1"
 regex = "1.5.5"
 sha-1 = "0.10.0"
 twox-hash = "1.6.2"
--- a/rust/rhg/Cargo.toml	Sat Feb 18 01:21:51 2023 +0100
+++ b/rust/rhg/Cargo.toml	Thu Feb 16 11:42:34 2023 +0100
@@ -22,4 +22,4 @@
 format-bytes = "0.3.0"
 users = "0.11.0"
 which = "4.2.5"
-rayon = "1.5.1"
+rayon = "1.6.1"