rust: upgrade `rayon` dependency
This includes a potential soundness fix as well as some improvements to
performance which should be helpful.
--- a/rust/Cargo.lock Mon Mar 06 11:58:37 2023 +0100
+++ b/rust/Cargo.lock Mon Mar 06 12:00:25 2023 +0100
@@ -1023,9 +1023,9 @@
[[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",
@@ -1033,9 +1033,9 @@
[[package]]
name = "rayon-core"
-version = "1.10.2"
+version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "356a0625f1954f730c0201cdab48611198dc6ce21f4acff55089b5a78e6e835b"
+checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"
dependencies = [
"crossbeam-channel",
"crossbeam-deque",
--- a/rust/hg-core/Cargo.toml Mon Mar 06 11:58:37 2023 +0100
+++ b/rust/hg-core/Cargo.toml Mon Mar 06 12:00:25 2023 +0100
@@ -24,7 +24,7 @@
rand = "0.8.5"
rand_pcg = "0.3.1"
rand_distr = "0.4.3"
-rayon = "1.6.1"
+rayon = "1.7.0"
regex = "1.7.0"
sha-1 = "0.10.0"
twox-hash = "1.6.3"
--- a/rust/rhg/Cargo.toml Mon Mar 06 11:58:37 2023 +0100
+++ b/rust/rhg/Cargo.toml Mon Mar 06 12:00:25 2023 +0100
@@ -22,4 +22,4 @@
format-bytes = "0.3.0"
users = "0.11.0"
which = "4.3.0"
-rayon = "1.6.1"
+rayon = "1.7.0"