summaryrefslogtreecommitdiffstats
path: root/vendor/gix-hash
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:42 +0000
commitcec1877e180393eba0f6ddb0cf97bf3a791631c7 (patch)
tree47b4dac2a9dd9a40c30c251b4d4a72d7ccf77e9f /vendor/gix-hash
parentAdding debian version 1.74.1+dfsg1-1. (diff)
downloadrustc-cec1877e180393eba0f6ddb0cf97bf3a791631c7.tar.xz
rustc-cec1877e180393eba0f6ddb0cf97bf3a791631c7.zip
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/gix-hash')
-rw-r--r--vendor/gix-hash/.cargo-checksum.json2
-rw-r--r--vendor/gix-hash/CHANGELOG.md28
-rw-r--r--vendor/gix-hash/Cargo.toml2
-rw-r--r--vendor/gix-hash/src/object_id.rs2
4 files changed, 31 insertions, 3 deletions
diff --git a/vendor/gix-hash/.cargo-checksum.json b/vendor/gix-hash/.cargo-checksum.json
index 17a023f80..d72ca63d7 100644
--- a/vendor/gix-hash/.cargo-checksum.json
+++ b/vendor/gix-hash/.cargo-checksum.json
@@ -1 +1 @@
-{"files":{"CHANGELOG.md":"a6b8740d3509850b2673eb8ca4eef60513a7525cd7818324c53247af0cda4389","Cargo.toml":"46d309d485955146ed1a5afc19bb024b9b174bfefa490c16324c9dcba28297fc","LICENSE-APACHE":"cb4780590812826851ba250f90bed0ed19506ec98f6865a0e2e20bbf62391ff9","LICENSE-MIT":"49df47913ab2beafe8dc45607877ae64198bf0eee64aaad3e82ed9e4d27424e8","src/kind.rs":"b76634865925155fddcf10a94ec37f08be8a61855438ce2577566fda816006f0","src/lib.rs":"9079b3ac1e6471a5fd05dbea751d1ef29bea008be3d2a11978d1ead757441c56","src/object_id.rs":"086df4c0ef60091aab53010061a6fbeecc655994a1d792106c1ea37ef7ef2449","src/oid.rs":"6b3bc5808b1220ebfa32c137024112d1162df88e5dede117fb6ecaa21867092b","src/prefix.rs":"d9281644da9ec8939452cb4ad42aa7229c754e32ad45e6d3b7f82b7ec868b092"},"package":"2ccf425543779cddaa4a7c62aba3fa9d90ea135b160be0a72dd93c063121ad4a"} \ No newline at end of file
+{"files":{"CHANGELOG.md":"59b94652dc040220e6d147c76aa484cf0e95dfb77594d2de98eec10abe51e4b9","Cargo.toml":"c4c546ee8dc2f065258cb35d125b1ffc7469ca4d58e758deafd763ca991cdee1","LICENSE-APACHE":"cb4780590812826851ba250f90bed0ed19506ec98f6865a0e2e20bbf62391ff9","LICENSE-MIT":"49df47913ab2beafe8dc45607877ae64198bf0eee64aaad3e82ed9e4d27424e8","src/kind.rs":"b76634865925155fddcf10a94ec37f08be8a61855438ce2577566fda816006f0","src/lib.rs":"9079b3ac1e6471a5fd05dbea751d1ef29bea008be3d2a11978d1ead757441c56","src/object_id.rs":"74df1fb6335707fd0a694b1e003c221c9a165cc06e6395786b8620a9a6e37a5d","src/oid.rs":"6b3bc5808b1220ebfa32c137024112d1162df88e5dede117fb6ecaa21867092b","src/prefix.rs":"d9281644da9ec8939452cb4ad42aa7229c754e32ad45e6d3b7f82b7ec868b092"},"package":"1884c7b41ea0875217c1be9ce91322f90bde433e91d374d0e1276073a51ccc60"} \ No newline at end of file
diff --git a/vendor/gix-hash/CHANGELOG.md b/vendor/gix-hash/CHANGELOG.md
index 86d3693b5..d445a4d8f 100644
--- a/vendor/gix-hash/CHANGELOG.md
+++ b/vendor/gix-hash/CHANGELOG.md
@@ -5,6 +5,31 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## 0.13.1 (2023-10-12)
+
+A maintenance release without user-facing changes.
+
+### Commit Statistics
+
+<csr-read-only-do-not-edit/>
+
+ - 3 commits contributed to the release.
+ - 33 days passed between releases.
+ - 0 commits were understood as [conventional](https://www.conventionalcommits.org).
+ - 0 issues like '(#ID)' were seen in commit messages
+
+### Commit Details
+
+<csr-read-only-do-not-edit/>
+
+<details><summary>view details</summary>
+
+ * **Uncategorized**
+ - Prepare changelogs prior to release ([`1347a54`](https://github.com/Byron/gitoxide/commit/1347a54f84599d8f0aa935d6e64b16c2298d25cf))
+ - Merge branch 'improvements' ([`429e7b2`](https://github.com/Byron/gitoxide/commit/429e7b25f93c8a7947db19bafa74babf199a1aa6))
+ - Add another doc-alias for a commonly used hash method ([`ed458c0`](https://github.com/Byron/gitoxide/commit/ed458c08133ddf1ea3b05b3c95c6534f80763259))
+</details>
+
## 0.13.0 (2023-09-08)
### Bug Fixes (BREAKING)
@@ -16,7 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<csr-read-only-do-not-edit/>
- - 4 commits contributed to the release over the course of 17 calendar days.
+ - 5 commits contributed to the release over the course of 17 calendar days.
- 17 days passed between releases.
- 1 commit was understood as [conventional](https://www.conventionalcommits.org).
- 0 issues like '(#ID)' were seen in commit messages
@@ -28,6 +53,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<details><summary>view details</summary>
* **Uncategorized**
+ - Release gix-date v0.8.0, gix-hash v0.13.0, gix-features v0.34.0, gix-actor v0.26.0, gix-object v0.36.0, gix-path v0.10.0, gix-glob v0.12.0, gix-attributes v0.18.0, gix-packetline-blocking v0.16.6, gix-filter v0.4.0, gix-fs v0.6.0, gix-commitgraph v0.20.0, gix-hashtable v0.4.0, gix-revwalk v0.7.0, gix-traverse v0.32.0, gix-worktree-stream v0.4.0, gix-archive v0.4.0, gix-config-value v0.14.0, gix-tempfile v9.0.0, gix-lock v9.0.0, gix-ref v0.36.0, gix-sec v0.10.0, gix-config v0.29.0, gix-prompt v0.7.0, gix-url v0.23.0, gix-credentials v0.19.0, gix-diff v0.35.0, gix-discover v0.24.0, gix-ignore v0.7.0, gix-index v0.24.0, gix-macros v0.1.0, gix-mailmap v0.18.0, gix-negotiate v0.7.0, gix-pack v0.42.0, gix-odb v0.52.0, gix-pathspec v0.2.0, gix-packetline v0.16.6, gix-transport v0.36.0, gix-protocol v0.39.0, gix-revision v0.21.0, gix-refspec v0.17.0, gix-submodule v0.3.0, gix-worktree v0.25.0, gix-worktree-state v0.2.0, gix v0.53.0, safety bump 39 crates ([`8bd0456`](https://github.com/Byron/gitoxide/commit/8bd045676bb2cdc02624ab93e73ff8518064ca38))
- Prepare changelogs for release ([`375db06`](https://github.com/Byron/gitoxide/commit/375db06a8442378c3f7a922fae38e2a6694d9d04))
- Merge branch `dyn`ification ([`f658fcc`](https://github.com/Byron/gitoxide/commit/f658fcc52dc2200ae34ca53dc10be97fb9012057))
- Use `dyn` trait where possible. ([`072ee32`](https://github.com/Byron/gitoxide/commit/072ee32f693a31161cd6a843da6582d13efbb20b))
diff --git a/vendor/gix-hash/Cargo.toml b/vendor/gix-hash/Cargo.toml
index b3f515ac0..68dd948a3 100644
--- a/vendor/gix-hash/Cargo.toml
+++ b/vendor/gix-hash/Cargo.toml
@@ -13,7 +13,7 @@
edition = "2021"
rust-version = "1.65"
name = "gix-hash"
-version = "0.13.0"
+version = "0.13.1"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
include = [
"src/**/*",
diff --git a/vendor/gix-hash/src/object_id.rs b/vendor/gix-hash/src/object_id.rs
index fe1b2e9ba..4234d63b5 100644
--- a/vendor/gix-hash/src/object_id.rs
+++ b/vendor/gix-hash/src/object_id.rs
@@ -123,6 +123,7 @@ impl ObjectId {
/// Returns an instances whose bytes are all zero.
#[inline]
+ #[doc(alias = "zero", alias = "git2")]
pub const fn null(kind: Kind) -> ObjectId {
match kind {
Kind::Sha1 => Self::null_sha1(),
@@ -131,6 +132,7 @@ impl ObjectId {
/// Returns `true` if this hash consists of all null bytes.
#[inline]
+ #[doc(alias = "is_zero", alias = "git2")]
pub fn is_null(&self) -> bool {
match self {
ObjectId::Sha1(digest) => &digest[..] == oid::null_sha1().as_bytes(),