aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-03-11tbb support in blake3_c_rust_bindingsrust_bindings_tbbJack O'Connor
2025-03-09Implement TBB-based parallelism for C libsilvanshade
2025-03-09update the MSRV in CI to 1.78Jack O'Connor
The "true" MSRV of the base crate is unchanged, 1.66. This bump is needed to run the `ignore` crate, a testing-only dependency.
2025-03-09use `ignore` to avoid overdoing rerun-if-changed in bindingsJack O'Connor
2025-03-02ci(cmake): test the minimum required versionHenrik Steffen Gaßmann
We only test on Ubuntu due to the fact that CMake 3.9.6 does not recognize modern MSVC versions and the main use case for these ancient CMake versions are extremely conservative Linux distributions. Note that CMake 3.9.6 does not support the modern convenience commandline interface.
2025-03-02build(cmake): improve CMake backwards compatibilityHenrik Steffen Gaßmann
There are no default paths for target installs on CMake 3.9.
2025-02-28use rsplit_once for parsing tagged lines, add test casesJack O'Connor
2025-02-28make anyhow::Result explicit in main.rsJack O'Connor
2025-02-28use --tag docstring wording closer to md5sum'sJack O'Connor
2025-02-28reduce code duplication in parse_check_lineJack O'Connor
2025-02-28combine test_check and test_check_tagJack O'Connor
2025-02-28add testsLeah Neukirchen
Adapted from https://github.com/BLAKE3-team/BLAKE3/pull/430/ by dbohdan.
2025-02-28b3sum: add tag support for --checkLeah Neukirchen
2025-02-28b3sum: add --tagLeah Neukirchen
2025-02-27version 1.6.11.6.1Jack O'Connor
Changes since 1.6.0: - Remove `mmap` from the default features list. It was added accidentally in v1.6.0, last week. This is technically a backwards-incompatible change, but I would rather not tag v2.0.0 for a build-time bugfix with a simple workaround.
2025-02-27remove mmap from the default features listJack O'Connor
I committed this change accidentally in a12fa7b8a4131d77c35eda5c680b9307a0fc28d3. Thanks to @ArmoredPony for catching this in https://github.com/BLAKE3-team/BLAKE3/issues/452.
2025-02-20revert `unsafe extern "C"` blocksJack O'Connor
This will be necessary when we eventually move to the 2024 edition, but for now it's an unnecessary MSRV bump.
2025-02-20add `unsafe` annotations needed for the 2024 editionJack O'Connor
2025-02-17version 1.6.01.6.0Jack O'Connor
Changes since 1.5.5: - Add Hash::from_slice. (#448) - Fix a build error on Windows 7 targets. (#447)
2025-02-17update b3sum/Cargo.lockJack O'Connor
2025-02-17Add `Hash::from_slice` to handle conversion from `&[u8]` bytesJosh Triplett
This is a convenience method, to avoid having to first call `<[u8; 32]>::try_from(slice)?`.
2025-02-13fix build.rs errors on win7 targetsOmer Cheri
2025-02-06remove checks that memmap2 does internallyJack O'Connor
2025-02-03replace a couple deprecated functions in benchmarksJack O'Connor
2025-02-03upgrade rand to v0.9Jack O'Connor
2025-01-22add missing MAYBE_UNUSEDdivinity76
caused ``` /Users/runner/work/php-src/php-src/ext/hash/blake3/upstream_blake3/c/blake3_dispatch.c:237:26: error: unused variable 'features' [-Werror,-Wunused-variable] const enum cpu_feature features = get_cpu_features(); ```
2024-11-26another Windows-style newlines testJack O'Connor
2024-11-26version 1.5.51.5.5Jack O'Connor
Changes since 1.5.4: - `b3sum --check` now supports checkfiles with Windows-style newlines. `b3sum` still emits Unix-style newlines, even on Windows, but sometimes text editors or version control tools will swap them. - The "digest" feature (deleted in v1.5.2) has been added back to the `blake3` crate. This is for backwards compatibility only, and it's insta-deprecated. All callers should prefer the "traits-preview" feature.
2024-11-26add back an explicit "digest" feature, for back compatJack O'Connor
2024-11-25add support for windows newlines in b3sum --checkJack O'Connor
Fixes #222.
2024-10-08build(CMake): Fix pkg-config for absolute CMAKE_INSTALL_*DIRFrancesco Gazzetta
CMAKE_INSTALL_*DIR can be absolute, and in that case ${prefix} should not be prepended. See https://github.com/jtojnar/cmake-snips/?tab=readme-ov-file#concatenating-paths-when-building-pkg-config-files
2024-09-14heading fix, C2SPJP Aumasson
2024-09-04link to yesterday's interviewJack O'Connor
2024-09-04add xof benchmarks for non-power-of-2 lengthsJack O'Connor
2024-08-27Remove Miri equality workaround functionAaron Feickert
2024-08-22put equivalent Hasher examples in the hash/keyed_hash/derive_key docsJack O'Connor
This was a good suggestion by @dhardy: https://github.com/rust-random/rand/issues/989#issuecomment-2303969094
2024-08-19test_compare_reference_impl_long_xofJack O'Connor
2024-08-19version 1.5.41.5.4Jack O'Connor
Changes since 1.5.3: - Initial implementation of SIMD acceleration for the XOF (i.e. blake3::Hasher::finalize_xof). This brings long output performance into line with long input performance. Currently AVX-512-only and Unix-only. - Add build support for "gnullvm" targets (Clang on Windows). - The "zeroize" feature no longer depends on proc-macros and syn.
2024-08-19update b3sum/Cargo.lockJack O'Connor
2024-08-19delete the guts crate for nowJack O'Connor
I haven't developed this experimental code any further since I pushed it, and it's not good for unused code to sit around. If I ever get back to this project I might revert this deletion.
2024-08-19defined(__unix__) -> !defined(_WIN32)Jack O'Connor
2024-08-18delete portable::xof_many and blake3_xof_many_portableJack O'Connor
2024-08-18make xof_many fall back to compress_xof instead of portable codeJack O'Connor
2024-08-18small cleanup in fill_one_blockJack O'Connor
2024-08-18debug_assert that xof_many is always called with whole blocksJack O'Connor
2024-08-18test that xof_many doesn't write more blocks than requestedJack O'Connor
2024-08-15mark blake3_xof_many_avx512 Unix-only in Rust and CJack O'Connor
2024-08-15fix a warning in the blake3_c_rust_bindings testsJack O'Connor
2024-08-15test_fuzz_xofJack O'Connor
2024-08-15add XOF benchmarksJack O'Connor