From 1a82890cc466aad7211f655ea2a2c4321f806b65 Mon Sep 17 00:00:00 2001 From: Kai Hudalla Date: Tue, 11 Mar 2025 09:41:28 +0100 Subject: [PATCH] Bump protobuf version Upgraded to version 3.7.2 --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 6 +++--- about.toml | 20 +++++++++++++++++--- deny.toml | 5 ++--- 4 files changed, 30 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6ad609dc..08b58462 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -320,9 +320,9 @@ dependencies = [ [[package]] name = "protobuf" -version = "3.7.1" +version = "3.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3a7c64d9bf75b1b8d981124c14c179074e8caa7dfe7b6a12e6222ddcd0c8f72" +checksum = "d65a1d4ddae7d8b5de68153b48f6aa3bba8cb002b243dbdbc55a5afbc98f99f4" dependencies = [ "bytes", "once_cell", @@ -332,9 +332,9 @@ dependencies = [ [[package]] name = "protobuf-codegen" -version = "3.7.1" +version = "3.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e26b833f144769a30e04b1db0146b2aaa53fd2fd83acf10a6b5f996606c18144" +checksum = "5d3976825c0014bbd2f3b34f0001876604fe87e0c86cd8fa54251530f1544ace" dependencies = [ "anyhow", "once_cell", @@ -347,9 +347,9 @@ dependencies = [ [[package]] name = "protobuf-parse" -version = "3.7.1" +version = "3.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "322330e133eab455718444b4e033ebfac7c6528972c784fcde28d2cc783c6257" +checksum = "b4aeaa1f2460f1d348eeaeed86aea999ce98c1bded6f089ff8514c9d9dbdc973" dependencies = [ "anyhow", "indexmap", @@ -363,9 +363,9 @@ dependencies = [ [[package]] name = "protobuf-support" -version = "3.7.1" +version = "3.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b088fd20b938a875ea00843b6faf48579462630015c3788d397ad6a786663252" +checksum = "3e36c2f31e0a47f9280fb347ef5e461ffcd2c52dd520d8e216b52f93b0b0d7d6" dependencies = [ "thiserror", ] diff --git a/Cargo.toml b/Cargo.toml index 900e84cf..56adb9a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ async-trait = { version = "0.1" } bytes = { version = "1.7" } mediatype = "0.19" mockall = { version = "0.13", optional = true } -protobuf = { version = "3.5", features = ["with-bytes"] } +protobuf = { version = "3.7.2", features = ["with-bytes"] } rand = { version = "0.8" } thiserror = { version = "1.0", optional = true } tokio = { version = "1.40", default-features = false, optional = true } @@ -62,8 +62,8 @@ uuid-simd = { version = "0.8", default-features = false, features = [ ] } [build-dependencies] -protobuf-codegen = { version = "3.5" } -protoc-bin-vendored = { version = "3.0" } +protobuf-codegen = { version = "3.7.2" } +protoc-bin-vendored = { version = "3.1" } [dev-dependencies] mockall = "0.13" diff --git a/about.toml b/about.toml index c446d9f6..e6a1c4b5 100644 --- a/about.toml +++ b/about.toml @@ -4,8 +4,7 @@ # If you add a license in the following section also consider changing deny.toml accepted = [ "Apache-2.0", - "MIT", - "BSD-3-Clause" + "MIT" ] targets = [ @@ -13,7 +12,22 @@ targets = [ "aarch64-unknown-linux-musl" ] +ignore-build-dependencies = true ignore-dev-dependencies = true [unicode-ident] -accepted = ["Unicode-DFS-2016"] +accepted = ["Unicode-3.0"] + +[protobuf.clarify] +license = "MIT" + +[[protobuf.clarify.files]] +path = "LICENSE.txt" +checksum = "7f2fa80a60e84f8dc0747abb0e42342f83bded04a20461a636b47c0331b92ddf" + +[protobuf-support.clarify] +license = "MIT" + +[[protobuf-support.clarify.files]] +path = "LICENSE.txt" +checksum = "7f2fa80a60e84f8dc0747abb0e42342f83bded04a20461a636b47c0331b92ddf" diff --git a/deny.toml b/deny.toml index 858b1019..b480d46d 100644 --- a/deny.toml +++ b/deny.toml @@ -16,15 +16,14 @@ # If you add a license in the following section also consider changing about.toml [licenses] -allow = ["Apache-2.0", "BSD-3-Clause", "MIT"] +allow = ["Apache-2.0", "MIT"] private = { ignore = true } exceptions = [ { name = "unicode-ident", allow = [ - "Unicode-DFS-2016", "Unicode-3.0", ] }, ] -unused-allowed-license = "allow" +unused-allowed-license = "deny" [bans] multiple-versions = "deny"