1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-05-07 22:16:18 +02:00

version 0.3.4

Changes since 0.3.3:
- `b3sum` now supports the `--check` flag. This is intended to be a
  drop-in replacement for e.g. `md5sum --check` from Coreutils. The
  behavior is somewhat stricter than Coreutils with respect to invalid
  Unicode in filenames. For a complete description of how `--check`
  works, see the file `b3sum/what_does_check_do.md`.
- To support the `--check` feature, backslashes and newlines that appear
  in filenames are now escaped in the output of `b3sum`. This is done
  the same way as in Coreutils.
- To support `--check` interoperability between Unix and Windows,
  backslashes in filepaths on Windows are now replaced with forward
  slashes in the output of `b3sum`. Note that this is different from
  Coreutils.
This commit is contained in:
Jack O'Connor 2020-05-23 14:29:04 -04:00
parent cd093791ab
commit 7f154ceea3
3 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "blake3"
version = "0.3.3"
version = "0.3.4"
authors = ["Jack O'Connor <oconnor663@gmail.com>"]
description = "the BLAKE3 hash function"
repository = "https://github.com/BLAKE3-team/BLAKE3"

View File

@ -1,6 +1,6 @@
[package]
name = "b3sum"
version = "0.3.3"
version = "0.3.4"
authors = ["Jack O'Connor <oconnor663@gmail.com>"]
description = "a command line implementation of the BLAKE3 hash function"
repository = "https://github.com/BLAKE3-team/BLAKE3"

View File

@ -5,7 +5,7 @@ A command line utility for calculating
Coreutils tools like `b2sum` or `md5sum`.
```
b3sum 0.3.3
b3sum 0.3.4
USAGE:
b3sum [FLAGS] [OPTIONS] [file]...
@ -18,6 +18,8 @@ FLAGS:
--no-mmap Disables memory mapping. Currently this also disables
multithreading.
--no-names Omits filenames in the output
--quiet Skips printing OK for each successfully verified file.
Must be used with --check.
--raw Writes raw output bytes to stdout, rather than hex.
--no-names is implied. In this case, only a single
input is allowed.
@ -34,7 +36,8 @@ OPTIONS:
RAYON_NUM_THREADS is also respected.
ARGS:
<file>...
<file>... Files to hash, or checkfiles to check. When no file is given,
or when - is given, read standard input.
```
See also [this document about how the `--check` flag