Skip to content

Commit

Permalink
version 0.3.4
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
oconnor663 committed May 23, 2020
1 parent cd09379 commit 7f154ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blake3"
version = "0.3.3"
version = "0.3.4"
authors = ["Jack O'Connor <[email protected]>"]
description = "the BLAKE3 hash function"
repository = "https://github.com/BLAKE3-team/BLAKE3"
Expand Down
2 changes: 1 addition & 1 deletion b3sum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "b3sum"
version = "0.3.3"
version = "0.3.4"
authors = ["Jack O'Connor <[email protected]>"]
description = "a command line implementation of the BLAKE3 hash function"
repository = "https://github.com/BLAKE3-team/BLAKE3"
Expand Down
7 changes: 5 additions & 2 deletions b3sum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]...
Expand All @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 7f154ce

Please sign in to comment.