aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2021-05-18 12:28:36 -0400
committerJack O'Connor <[email protected]>2021-07-25 12:42:09 -0400
commitb404c851c284ed01f51a4606e1e13f51a89c2584 (patch)
treef4d46eca402b9cc635ffc90d98a5f7d56583ff91
parent5aef6849bbee4e614d4c05db4a79d791baa3067e (diff)
version 1.0.01.0.0
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.
-rw-r--r--Cargo.toml2
-rw-r--r--b3sum/Cargo.toml4
-rw-r--r--c/blake3.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 3c11c4c..a43f000 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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"
diff --git a/b3sum/Cargo.toml b/b3sum/Cargo.toml
index 4678bee..344cf80 100644
--- a/b3sum/Cargo.toml
+++ b/b3sum/Cargo.toml
@@ -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"
@@ -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"
diff --git a/c/blake3.h b/c/blake3.h
index 0fd31da..5eacf18 100644
--- a/c/blake3.h
+++ b/c/blake3.h
@@ -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