Update Rust crate blake3 to 1.5.0 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
blake3 | dependencies | minor |
1.3.3 -> 1.5.0
|
Release Notes
BLAKE3-team/BLAKE3 (blake3)
v1.5.0
version 1.5.0
Changes since 1.4.1:
- The Rust crate's Hasher type has gained new helper methods for common forms of IO: update_reader, update_mmap, and update_mmap_rayon. The latter matches the default behavior of b3sum. The mmap methods are gated by the new "mmap" Cargo feature.
- Most of the Rust crate's public types now implement the Zeroize trait. This is gated by the new "zeroize" Cargo feature.
- The Rust crate's Hash types now implements the serde Serialize and Deserialize traits. This is gated by the new "serde" Cargo feature.
- The C library now uses atomics to cache detected CPU features under most compilers other than MSVC. Previously this was a non-atomic write, which was probably "benign" but made TSan unhappy.
- NEON support is now disabled by default on big-endian AArch64. Previously this was a build error if the caller didn't explicitly disable it.
v1.4.1
version 1.4.1
Changes since 1.4.0:
- Improved performance in the ARM NEON implementation for both C and Rust callers. This affects AArch64 targets by default and ARMv7 targets that explicitly enable (and support) NEON. The size of the improvement depends on the microarchitecture, but I've benchmarked ~1.3x on a Cortex-A53 and ~1.2x on an Apple M1. Contributed by @sdlyyxy in #319.
- The MSRV is now 1.66.1 for both the
blake3
crate andb3sum
.
v1.4.0
version 1.4.0
Changes since 1.3.3:
- The C implementation provides a
CMakeLists.txt
for callers who build with CMake. The CMake build is not yet stable, and callers should expect breaking changes in patch version updates. The "by hand" build will always continue to be supported and documented. -
b3sum
supports the--seek
flag, to set the starting position in the output stream. -
b3sum --check
prints a summary of errors to stderr. -
Hash::as_bytes
is const. -
Hash
supportsfrom_bytes
, which is const.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Óscar García Amor