From 4b3fdf51e404f0964b458fb2df4014982d3c5890 Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Wed, 3 Jul 2024 09:19:34 -0700 Subject: [PATCH] add a comment about depending on rayon-core --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index eee07123..036a39b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,6 +29,9 @@ 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. +# +# Implementation detail: We take a dependency on rayon-core instead of rayon, +# because it builds faster and still includes all the APIs we need. rayon = ["dep:rayon-core", "std"] # The `mmap` feature (disabled by default, but enabled for docs.rs) adds the