This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch branch-1.12
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/branch-1.12 by this push:
new f196c808f Bump serde_json from 1.0.127 to 1.0.128 in /lang/rust (#3149)
f196c808f is described below
commit f196c808fdfc1a17eae6e7b646ceab6c3c260782
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Mon Sep 9 11:27:42 2024 +0300
Bump serde_json from 1.0.127 to 1.0.128 in /lang/rust (#3149)
* Bump serde_json from 1.0.127 to 1.0.128 in /lang/rust
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.127 to
1.0.128.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/1.0.127...1.0.128)
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
* Fix clippy errors in nightly build
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
---------
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Co-authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Tzvetanov Grigorov <[email protected]>
(cherry picked from commit c01780934610e4cddd6b80214797a8d4dc0f3f94)
---
lang/rust/Cargo.lock | 4 ++--
lang/rust/Cargo.toml | 2 +-
lang/rust/avro/src/reader.rs | 2 +-
lang/rust/avro/src/ser.rs | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/lang/rust/Cargo.lock b/lang/rust/Cargo.lock
index 3c348fdb2..a224f5170 100644
--- a/lang/rust/Cargo.lock
+++ b/lang/rust/Cargo.lock
@@ -1202,9 +1202,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.127"
+version = "1.0.128"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad"
+checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
dependencies = [
"itoa",
"memchr",
diff --git a/lang/rust/Cargo.toml b/lang/rust/Cargo.toml
index c54bd8d6c..3e3d13c79 100644
--- a/lang/rust/Cargo.toml
+++ b/lang/rust/Cargo.toml
@@ -44,7 +44,7 @@ documentation = "https://docs.rs/apache-avro"
log = { default-features = false, version = "0.4.22" }
serde = { default-features = false, version = "1.0.209", features = ["derive"]
}
serde_bytes = { default-features = false, version = "0.11.15", features =
["std"] }
-serde_json = { default-features = false, version = "1.0.127", features =
["std"] }
+serde_json = { default-features = false, version = "1.0.128", features =
["std"] }
[profile.release.package.hello-wasm]
# Tell `rustc` to optimize for small code size.
diff --git a/lang/rust/avro/src/reader.rs b/lang/rust/avro/src/reader.rs
index 39c3473c8..1655dccfa 100644
--- a/lang/rust/avro/src/reader.rs
+++ b/lang/rust/avro/src/reader.rs
@@ -54,7 +54,7 @@ struct Block<'r, R> {
}
impl<'r, R: Read> Block<'r, R> {
- fn new(reader: R, schemata: Vec<&'r Schema>) -> AvroResult<Block<R>> {
+ fn new(reader: R, schemata: Vec<&'r Schema>) -> AvroResult<Block<'r, R>> {
let mut block = Block {
reader,
codec: Codec::Null,
diff --git a/lang/rust/avro/src/ser.rs b/lang/rust/avro/src/ser.rs
index 748e2d541..519306a4d 100644
--- a/lang/rust/avro/src/ser.rs
+++ b/lang/rust/avro/src/ser.rs
@@ -64,7 +64,7 @@ impl SeqSerializer {
}
impl<'a> SeqVariantSerializer<'a> {
- pub fn new(index: u32, variant: &'a str, len: Option<usize>) ->
SeqVariantSerializer {
+ pub fn new(index: u32, variant: &'a str, len: Option<usize>) ->
SeqVariantSerializer<'a> {
let items = match len {
Some(len) => Vec::with_capacity(len),
None => Vec::new(),
@@ -97,7 +97,7 @@ impl StructSerializer {
}
impl<'a> StructVariantSerializer<'a> {
- pub fn new(index: u32, variant: &'a str, len: usize) ->
StructVariantSerializer {
+ pub fn new(index: u32, variant: &'a str, len: usize) ->
StructVariantSerializer<'a> {
StructVariantSerializer {
index,
variant,