This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 578ffd9 chore(deps): Bump miniz_oxide from 0.8.9 to 0.9.0 (#399)
578ffd9 is described below
commit 578ffd950fe7c16724cf40d7f143e7117eceef0f
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Tue Jan 13 08:54:24 2026 +0200
chore(deps): Bump miniz_oxide from 0.8.9 to 0.9.0 (#399)
* chore(deps): Bump miniz_oxide from 0.8.9 to 0.9.0
Bumps [miniz_oxide](https://github.com/Frommi/miniz_oxide) from 0.8.9 to
0.9.0.
-
[Changelog](https://github.com/Frommi/miniz_oxide/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Frommi/miniz_oxide/compare/0.8.9...0.9.0)
---
updated-dependencies:
- dependency-name: miniz_oxide
dependency-version: 0.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
* Add a catch all match arm for miniz_oxide's TINFLStatus
Needed to make `#[non_exhaustive]` happy
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Tzvetanov Grigorov <[email protected]>
---
Cargo.lock | 13 +++++++++++--
avro/Cargo.toml | 2 +-
avro/src/codec.rs | 1 +
3 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 08806b0..b02fb34 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -70,7 +70,7 @@ dependencies = [
"liblzma",
"log",
"md-5",
- "miniz_oxide",
+ "miniz_oxide 0.9.0",
"num-bigint",
"paste",
"pretty_assertions",
@@ -143,7 +143,7 @@ dependencies = [
"addr2line",
"cfg-if",
"libc",
- "miniz_oxide",
+ "miniz_oxide 0.8.9",
"object",
"rustc-demangle",
"windows-link",
@@ -728,6 +728,15 @@ dependencies = [
"adler2",
]
+[[package]]
+name = "miniz_oxide"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5faa9f23e86bd5768d76def086192ff5f869fb088da12a976ea21e9796b975f6"
+dependencies = [
+ "adler2",
+]
+
[[package]]
name = "nu-ansi-term"
version = "0.50.3"
diff --git a/avro/Cargo.toml b/avro/Cargo.toml
index 5b7e2a1..7133ef7 100644
--- a/avro/Cargo.toml
+++ b/avro/Cargo.toml
@@ -59,7 +59,7 @@ bon = { default-features = false, version = "3.8.2" }
bzip2 = { version = "0.6.1", optional = true }
crc32fast = { default-features = false, version = "1.5.0", optional = true }
digest = { default-features = false, version = "0.10.7", features =
["core-api"] }
-miniz_oxide = { default-features = false, version = "0.8.9", features =
["with-alloc"] }
+miniz_oxide = { default-features = false, version = "0.9.0", features =
["with-alloc"] }
log = { workspace = true }
num-bigint = { default-features = false, version = "0.4.6", features = ["std",
"serde"] }
regex-lite = { default-features = false, version = "0.1.8", features = ["std",
"string"] }
diff --git a/avro/src/codec.rs b/avro/src/codec.rs
index fc8f49e..415cd66 100644
--- a/avro/src/codec.rs
+++ b/avro/src/codec.rs
@@ -154,6 +154,7 @@ impl Codec {
Done => Error::other("Unexpected error: miniz_oxide
reported an error with a success status. Please report this to avro-rs
developers."),
NeedsMoreInput =>
Error::from(ErrorKind::UnexpectedEof),
HasMoreOutput => Error::other("Unexpected error:
miniz_oxide has more data than the output buffer can hold. Please report this
to avro-rs developers."), // not possible for _to_vec()
+ other => Error::other(format!("Unexpected error:
{other:?}"))
}
};
Error::new(Details::DeflateDecompress(err))