From 648a06043a6c29bc34c7bc68384054b75340ec88 Mon Sep 17 00:00:00 2001 From: silvanshade Date: Tue, 18 Jun 2024 15:07:41 -0600 Subject: Switch to rayon-core for faster build --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Cargo.toml') 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 } -- cgit v1.2.3