aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorBanyc <[email protected]>2023-07-18 00:48:52 +0800
committerJack O'Connor <[email protected]>2023-09-16 14:20:39 -0700
commite0bb91564125407102af81e219399025aa2c24b9 (patch)
treef17b2553af54a7bb800753763b0e1f12b0090f84 /Cargo.toml
parent12b368541f917d69b6169a4d895e206144acd44f (diff)
move file operations from b3sum to blake3
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index e9ab95e..74aed30 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -81,6 +81,8 @@ no_avx2 = []
no_avx512 = []
no_neon = []
+file = ["memmap2", "rayon", "std"]
+
[package.metadata.docs.rs]
# Document Hasher::update_rayon on docs.rs.
features = ["rayon", "zeroize"]
@@ -93,6 +95,7 @@ rayon = { version = "1.2.1", optional = true }
cfg-if = "1.0.0"
digest = { version = "0.10.1", features = [ "mac" ], optional = true }
zeroize = { version = "1", default-features = false, features = ["zeroize_derive"], optional = true }
+memmap2 = { version = "0.7.1", optional = true }
[dev-dependencies]
hex = "0.4.2"