mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2026-09-05 18:54:20 +02:00
Changes since 1.8.5: - `update_mmap` and `update_mmap_rayon` (and by extension `b3sum`) now use `seek` rather than `metadata` to get the length of a file/mapping, and they tolerate `mmap` failures. That means `b3sum` will now memory map e.g. Linux block devices, which support mapping despite reporting length 0 in `metadata`. Hashing `NUL` files on Windows also works now, where previously it was an error unless you used `--no-mmap` or `<`. This change was originally proposed by @nabijaczleweli.
27 lines
710 B
INI
27 lines
710 B
INI
[package]
|
|
name = "b3sum"
|
|
version = "1.8.6"
|
|
authors = ["Jack O'Connor <oconnor663@gmail.com>"]
|
|
description = "a command line implementation of the BLAKE3 hash function"
|
|
repository = "https://github.com/BLAKE3-team/BLAKE3"
|
|
license = "CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception"
|
|
readme = "README.md"
|
|
edition = "2024"
|
|
|
|
[features]
|
|
neon = ["blake3/neon"]
|
|
prefer_intrinsics = ["blake3/prefer_intrinsics"]
|
|
pure = ["blake3/pure"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.25"
|
|
blake3 = { version = "1.8", path = "..", features = ["mmap", "rayon"] }
|
|
clap = { version = "4.0.8", features = ["derive", "wrap_help"] }
|
|
hex = "0.4.0"
|
|
rayon-core = "1.12.1"
|
|
wild = "2.0.3"
|
|
|
|
[dev-dependencies]
|
|
duct = "1.0.0"
|
|
tempfile = "3.1.0"
|