From f7a946313d2963a8bc1ce6bef09da0c63bb06c89 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 May 2023 05:04:56 +0000 Subject: [PATCH 1/2] chore(deps): bump tonic-build from 0.8.4 to 0.9.2 Bumps [tonic-build](https://github.com/hyperium/tonic) from 0.8.4 to 0.9.2. - [Release notes](https://github.com/hyperium/tonic/releases) - [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/tonic/compare/v0.8.4...v0.9.2) --- updated-dependencies: - dependency-name: tonic-build dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- lib/opentelemetry-proto/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 880981e0ea850..ea420439bb053 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8521,9 +8521,9 @@ dependencies = [ [[package]] name = "tonic-build" -version = "0.8.4" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bf5e9b9c0f7e0a7c027dcfaba7b2c60816c7049171f679d99ee2ff65d0de8c4" +checksum = "a6fdaae4c2c638bb70fe42803a26fbd6fc6ac8c72f5c59f67ecc2a2dcabf4b07" dependencies = [ "prettyplease", "proc-macro2 1.0.56", diff --git a/Cargo.toml b/Cargo.toml index 29eb3df403472..933a63cd7bc0c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -337,7 +337,7 @@ nix = { version = "0.26.2", default-features = false, features = ["socket", "sig [build-dependencies] prost-build = { version = "0.11", default-features = false, optional = true } -tonic-build = { version = "0.8", default-features = false, features = ["transport", "prost"], optional = true } +tonic-build = { version = "0.9", default-features = false, features = ["transport", "prost"], optional = true } openssl-src = { version = "111", default-features = false, features = ["force-engine"] } [dev-dependencies] diff --git a/lib/opentelemetry-proto/Cargo.toml b/lib/opentelemetry-proto/Cargo.toml index 40221e0ac1881..eb592ae56347a 100644 --- a/lib/opentelemetry-proto/Cargo.toml +++ b/lib/opentelemetry-proto/Cargo.toml @@ -7,7 +7,7 @@ publish = false [build-dependencies] prost-build = { version = "0.11", default-features = false} -tonic-build = { version = "0.8", default-features = false, features = ["prost", "transport"] } +tonic-build = { version = "0.9", default-features = false, features = ["prost", "transport"] } [dependencies] bytes = { version = "1.4.0", default-features = false, features = ["serde"] } From 9631e681034542cbf86d077f9e107296b47f04ed Mon Sep 17 00:00:00 2001 From: Spencer Gilbert Date: Tue, 2 May 2023 09:22:46 -0400 Subject: [PATCH 2/2] chore: Surpress clippy lint in pubsub proto --- src/sources/gcp_pubsub.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sources/gcp_pubsub.rs b/src/sources/gcp_pubsub.rs index 3cd5836089fbe..4efbe81a9fb00 100644 --- a/src/sources/gcp_pubsub.rs +++ b/src/sources/gcp_pubsub.rs @@ -61,6 +61,8 @@ type Finalizer = UnorderedFinalizer>; // objects, which causes a clippy ding on this block. We don't // directly control the generated code, so allow this lint here. #[allow(clippy::clone_on_ref_ptr)] +// https://github.com/hyperium/tonic/issues/1350 +#[allow(clippy::missing_const_for_fn)] #[allow(warnings)] mod proto { include!(concat!(env!("OUT_DIR"), "/google.pubsub.v1.rs"));