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" }