From c01780934610e4cddd6b80214797a8d4dc0f3f94 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 11:27:42 +0300 Subject: [PATCH] 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] * Fix clippy errors in nightly build Signed-off-by: Martin Tzvetanov Grigorov --------- Signed-off-by: dependabot[bot] Signed-off-by: Martin Tzvetanov Grigorov Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Martin Tzvetanov Grigorov --- 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 6fd2e9a610b..bf2db770996 100644 --- a/lang/rust/Cargo.lock +++ b/lang/rust/Cargo.lock @@ -1218,9 +1218,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 c54bd8d6c42..3e3d13c79be 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 39c3473c83e..1655dccfa79 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> { + fn new(reader: R, schemata: Vec<&'r Schema>) -> AvroResult> { 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 748e2d54164..519306a4d0f 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) -> SeqVariantSerializer { + pub fn new(index: u32, variant: &'a str, len: Option) -> 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,