From 89174001b590e89218b2e4d97267d414b3f4165e Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Mon, 30 Sep 2024 01:50:01 +0100 Subject: [PATCH] protoc-bin-vendored version in workspace --- Cargo.toml | 3 +++ protoc-bin/Cargo.toml | 2 +- test-crates/protobuf-codegen-identical-test/Cargo.toml | 2 +- test-crates/protobuf-codegen-protoc-test/Cargo.toml | 2 +- test-crates/protobuf-parse-error-test/Cargo.toml | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 812e5f2c8..d0a52abf5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,3 +24,6 @@ members = [ "test-crates/protobuf-test", "test-crates/protobuf-test-common", ] + +[workspace.dependencies] +protoc-bin-vendored = "=3.1.0" diff --git a/protoc-bin/Cargo.toml b/protoc-bin/Cargo.toml index a38836dc0..ae2b1ca4d 100644 --- a/protoc-bin/Cargo.toml +++ b/protoc-bin/Cargo.toml @@ -16,7 +16,7 @@ doctest = false bench = false [dependencies] -protoc-bin-vendored = "=3.1.0" +protoc-bin-vendored = { workspace = true } [package.metadata.docs.rs] all-features = true diff --git a/test-crates/protobuf-codegen-identical-test/Cargo.toml b/test-crates/protobuf-codegen-identical-test/Cargo.toml index 731c4659c..50cd4cc38 100644 --- a/test-crates/protobuf-codegen-identical-test/Cargo.toml +++ b/test-crates/protobuf-codegen-identical-test/Cargo.toml @@ -15,7 +15,7 @@ anyhow = "1.0.57" tempfile = "3" regex = "1.3.9" -protoc-bin-vendored = "=3.1.0" +protoc-bin-vendored = { workspace = true } protobuf = { path = "../../protobuf" } protobuf-support = { path = "../../protobuf-support" } diff --git a/test-crates/protobuf-codegen-protoc-test/Cargo.toml b/test-crates/protobuf-codegen-protoc-test/Cargo.toml index fd7f07f72..e8fa89fcd 100644 --- a/test-crates/protobuf-codegen-protoc-test/Cargo.toml +++ b/test-crates/protobuf-codegen-protoc-test/Cargo.toml @@ -20,7 +20,7 @@ glob = "0.2" log = "0.4" env_logger = "0.5.*" -protoc-bin-vendored = "=3.1.0" +protoc-bin-vendored = { workspace = true } protobuf-codegen = { path = "../../protobuf-codegen" } protobuf-test-common = { path = "../../test-crates/protobuf-test-common" } diff --git a/test-crates/protobuf-parse-error-test/Cargo.toml b/test-crates/protobuf-parse-error-test/Cargo.toml index 538248c4a..a14d22c33 100644 --- a/test-crates/protobuf-parse-error-test/Cargo.toml +++ b/test-crates/protobuf-parse-error-test/Cargo.toml @@ -12,7 +12,7 @@ bench = false [dependencies] tempfile = "3.2.0" -protoc-bin-vendored = "=3.1.0" +protoc-bin-vendored = { workspace = true } protobuf-parse = { path = "../../protobuf-parse" } protobuf-test-common = { path = "../../test-crates/protobuf-test-common" }