Skip to content

Commit

Permalink
version 1.0.0
Browse files Browse the repository at this point in the history
Changes since 0.3.8:
- Add Hash::from_hex() and implement FromStr for Hash.
- Implement Display for Hash, equivalent to Hash::to_hex().
- Implement PartialEq<[u8]> for Hash, using constant_time_eq.
- Change derive_key() to return a 32-byte array. As with hash() and
  keyed_hash(), callers who want a non-default output length can use
  Hasher::finalize_xof().
- Replace Hasher::update_with_join() with Hasher::update_rayon(). The
  former was excessively generic, and the Join trait leaked
  implementation details. As part of this change, the Join trait is no
  longer public.
- Upgraded arrayvec to 0.7.0, which uses const generics. This bumps the
  minimum supported Rust compiler version to 1.51.
- Gate the digest and crypto-mac trait implementations behind an
  unstable feature, "traits-preview". As part of this change upgrade
  crypto-mac to 0.11.0.
  • Loading branch information
oconnor663 committed Jul 25, 2021
1 parent 5aef684 commit b404c85
Show file tree
Hide file tree
Showing 3 changed files with 4 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.7"
version = "1.0.0"
authors = ["Jack O'Connor <[email protected]>"]
description = "the BLAKE3 hash function"
repository = "https://github.com/BLAKE3-team/BLAKE3"
Expand Down
4 changes: 2 additions & 2 deletions b3sum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "b3sum"
version = "0.3.7"
version = "1.0.0"
authors = ["Jack O'Connor <[email protected]>"]
description = "a command line implementation of the BLAKE3 hash function"
repository = "https://github.com/BLAKE3-team/BLAKE3"
Expand All @@ -15,7 +15,7 @@ pure = ["blake3/pure"]

[dependencies]
anyhow = "1.0.25"
blake3 = { version = "0.3", path = "..", features = ["rayon"] }
blake3 = { version = "1", path = "..", features = ["rayon"] }
clap = "2.33.1"
hex = "0.4.0"
memmap = "0.7.0"
Expand Down
2 changes: 1 addition & 1 deletion c/blake3.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
extern "C" {
#endif

#define BLAKE3_VERSION_STRING "0.3.7"
#define BLAKE3_VERSION_STRING "1.0.0"
#define BLAKE3_KEY_LEN 32
#define BLAKE3_OUT_LEN 32
#define BLAKE3_BLOCK_LEN 64
Expand Down

0 comments on commit b404c85

Please sign in to comment.