aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorsilvanshade <[email protected]>2024-06-18 15:07:41 -0600
committerJack O'Connor <[email protected]>2024-07-03 12:27:14 -0400
commit648a06043a6c29bc34c7bc68384054b75340ec88 (patch)
tree0a04d7a7cbb85a531b049c3eb19a42092b069920 /Cargo.toml
parentc8834c24a67763cc0fb097316a8d29d38888c9c8 (diff)
Switch to rayon-core for faster build
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 7011213..eee0712 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,7 +29,7 @@ std = []
# `update_rayon` and (in combination with `mmap` below) `update_mmap_rayon`
# methods, for multithreaded hashing. However, even if this feature is enabled,
# all other APIs remain single-threaded.
-rayon = ["dep:rayon", "std"]
+rayon = ["dep:rayon-core", "std"]
# The `mmap` feature (disabled by default, but enabled for docs.rs) adds the
# `update_mmap` and (in combination with `rayon` above) `update_mmap_rayon`
@@ -98,7 +98,7 @@ constant_time_eq = "0.3.0"
cfg-if = "1.0.0"
digest = { version = "0.10.1", features = [ "mac" ], optional = true }
memmap2 = { version = "0.9", optional = true }
-rayon = { version = "1.2.1", optional = true }
+rayon-core = { version = "1.12.1", optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
zeroize = { version = "1", default-features = false, features = ["zeroize_derive"], optional = true }