aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2024-07-03 09:19:34 -0700
committerJack O'Connor <[email protected]>2024-07-03 09:27:41 -0700
commit4b3fdf51e404f0964b458fb2df4014982d3c5890 (patch)
treef96397efcb2b94684db1f4df064dab75ef342791
parent648a06043a6c29bc34c7bc68384054b75340ec88 (diff)
add a comment about depending on rayon-core
-rw-r--r--Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index eee0712..036a39b 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