Description: accept older branch of crates prost prost-build prost-types
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-03-10
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/examples/Cargo.toml
+++ b/examples/Cargo.toml
@@ -290,7 +290,7 @@
 [dependencies]
 # Common dependencies
 tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] }
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = { path = "../tonic" }
 # Optional dependencies
 tonic-web = { path = "../tonic-web", optional = true }
@@ -306,7 +306,7 @@
 serde_json = { version = "1.0", optional = true }
 tracing = { version = "0.1.16", optional = true }
 tracing-subscriber = { version = "0.3", features = ["tracing-log", "fmt"], optional = true }
-prost-types = { version = "0.13", optional = true }
+prost-types = { version = ">= 0.12.6, <= 0.13", optional = true }
 http = { version = "1", optional = true }
 http-body = { version = "1", optional = true }
 http-body-util = { version = "0.1", optional = true }
--- a/interop/Cargo.toml
+++ b/interop/Cargo.toml
@@ -22,7 +22,7 @@
 http = "1"
 http-body = "1"
 hyper = "1"
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tokio = {version = "1.0", features = ["rt-multi-thread", "time", "macros"]}
 tokio-stream = "0.1"
 tonic = {path = "../tonic", features = ["tls"]}
--- a/tests/ambiguous_methods/Cargo.toml
+++ b/tests/ambiguous_methods/Cargo.toml
@@ -9,7 +9,7 @@
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = {path = "../../tonic"}
 
 [build-dependencies]
--- a/tests/compression/Cargo.toml
+++ b/tests/compression/Cargo.toml
@@ -15,7 +15,7 @@
 hyper-util = "0.1"
 paste = "1.0.12"
 pin-project = "1.0"
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]}
 tokio-stream = "0.1"
 tonic = {path = "../../tonic", features = ["gzip", "zstd"]}
--- a/tests/default_stubs/Cargo.toml
+++ b/tests/default_stubs/Cargo.toml
@@ -9,7 +9,7 @@
 [dependencies]
 tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]}
 tokio-stream = {version = "0.1", features = ["net"]}
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = {path = "../../tonic"}
 
 [build-dependencies]
--- a/tests/deprecated_methods/Cargo.toml
+++ b/tests/deprecated_methods/Cargo.toml
@@ -8,9 +8,9 @@
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = { path = "../../tonic" }
 
 [build-dependencies]
-prost-build = "0.13"
+prost-build = ">= 0.12.6, <= 0.13"
 tonic-build = { path = "../../tonic-build" }
--- a/tests/disable_comments/Cargo.toml
+++ b/tests/disable_comments/Cargo.toml
@@ -9,9 +9,9 @@
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = { path = "../../tonic" }
 
 [build-dependencies]
-prost-build = "0.13"
+prost-build = ">= 0.12.6, <= 0.13"
 tonic-build = { path = "../../tonic-build" }
--- a/tests/extern_path/my_application/Cargo.toml
+++ b/tests/extern_path/my_application/Cargo.toml
@@ -9,7 +9,7 @@
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = {path = "../../../tonic"}
 uuid = {package = "uuid1", path = "../uuid"}
 
--- a/tests/extern_path/uuid/Cargo.toml
+++ b/tests/extern_path/uuid/Cargo.toml
@@ -9,6 +9,6 @@
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 [build-dependencies]
-prost-build = "0.13"
+prost-build = ">= 0.12.6, <= 0.13"
--- a/tests/included_service/Cargo.toml
+++ b/tests/included_service/Cargo.toml
@@ -9,7 +9,7 @@
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = {path = "../../tonic"}
 
 [build-dependencies]
--- a/tests/integration_tests/Cargo.toml
+++ b/tests/integration_tests/Cargo.toml
@@ -10,7 +10,7 @@
 
 [dependencies]
 bytes = "1.0"
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net", "sync"]}
 tonic = {path = "../../tonic"}
 tracing-subscriber = {version = "0.3"}
--- a/tests/root-crate-path/Cargo.toml
+++ b/tests/root-crate-path/Cargo.toml
@@ -7,7 +7,7 @@
 version = "0.1.0"
 
 [dependencies]
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = {path = "../../tonic"}
 
 [build-dependencies]
--- a/tests/same_name/Cargo.toml
+++ b/tests/same_name/Cargo.toml
@@ -9,7 +9,7 @@
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = {path = "../../tonic"}
 
 [build-dependencies]
--- a/tests/service_named_result/Cargo.toml
+++ b/tests/service_named_result/Cargo.toml
@@ -7,7 +7,7 @@
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = {path = "../../tonic"}
 
 [build-dependencies]
--- a/tests/service_named_service/Cargo.toml
+++ b/tests/service_named_service/Cargo.toml
@@ -9,7 +9,7 @@
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = {path = "../../tonic"}
 
 [build-dependencies]
--- a/tests/skip_debug/Cargo.toml
+++ b/tests/skip_debug/Cargo.toml
@@ -9,7 +9,7 @@
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = { path = "../../tonic" }
 
 [build-dependencies]
--- a/tests/stream_conflict/Cargo.toml
+++ b/tests/stream_conflict/Cargo.toml
@@ -9,7 +9,7 @@
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = { path = "../../tonic" }
 
 [build-dependencies]
--- a/tests/use_arc_self/Cargo.toml
+++ b/tests/use_arc_self/Cargo.toml
@@ -8,7 +8,7 @@
 
 [dependencies]
 tokio-stream = "0.1"
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = {path = "../../tonic", features = ["gzip"]}
 
 [build-dependencies]
--- a/tests/web/Cargo.toml
+++ b/tests/web/Cargo.toml
@@ -13,7 +13,7 @@
 http-body-util = "0.1"
 hyper = "1"
 hyper-util = "0.1"
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tokio = { version = "1", features = ["macros", "rt", "net"] }
 tokio-stream = { version = "0.1", features = ["net"] }
 tonic = { path = "../../tonic" }
--- a/tests/wellknown-compiled/Cargo.toml
+++ b/tests/wellknown-compiled/Cargo.toml
@@ -12,9 +12,9 @@
 doctest = false
 
 [dependencies]
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tonic = {path = "../../tonic"}
 
 [build-dependencies]
-prost-build = "0.13"
+prost-build = ">= 0.12.6, <= 0.13"
 tonic-build = {path = "../../tonic-build"}
--- a/tests/wellknown/Cargo.toml
+++ b/tests/wellknown/Cargo.toml
@@ -9,8 +9,8 @@
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-prost = "0.13"
-prost-types = "0.13"
+prost = ">= 0.12.6, <= 0.13"
+prost-types = ">= 0.12.6, <= 0.13"
 tonic = {path = "../../tonic"}
 
 [build-dependencies]
--- a/tonic-build/Cargo.toml
+++ b/tonic-build/Cargo.toml
@@ -17,8 +17,8 @@
 [dependencies]
 prettyplease = { version = "0.2" }
 proc-macro2 = "1.0"
-prost-build = { version = "0.13", optional = true }
-prost-types = { version = "0.13", optional = true }
+prost-build = { version = ">= 0.12.6, <= 0.13", optional = true }
+prost-types = { version = ">= 0.12.6, <= 0.13", optional = true }
 quote = "1.0"
 syn = "2.0"
 
--- a/tonic-health/Cargo.toml
+++ b/tonic-health/Cargo.toml
@@ -20,7 +20,7 @@
 
 [dependencies]
 async-stream = "0.3"
-prost = "0.13"
+prost = ">= 0.12.6, <= 0.13"
 tokio = {version = "1.0", features = ["sync"]}
 tokio-stream = "0.1"
 tonic = { version = "0.12", path = "../tonic", default-features = false, features = ["codegen", "prost"] }
@@ -28,7 +28,7 @@
 [dev-dependencies]
 tokio = {version = "1.0", features = ["rt-multi-thread", "macros"]}
 tokio-stream = "0.1"
-prost-types = "0.13"
+prost-types = ">= 0.12.6, <= 0.13"
 
 [package.metadata.cargo_check_external_types]
 allowed_external_types = [
--- a/tonic-reflection/Cargo.toml
+++ b/tonic-reflection/Cargo.toml
@@ -26,8 +26,8 @@
 default = ["server"]
 
 [dependencies]
-prost = "0.13"
-prost-types = {version = "0.13", optional = true}
+prost = ">= 0.12.6, <= 0.13"
+prost-types = {version = ">= 0.12.6, <= 0.13", optional = true}
 tokio = { version = "1.0", features = ["sync", "rt"], optional = true }
 tokio-stream = {version = "0.1", features = ["net"], optional = true }
 tonic = { version = "0.12", path = "../tonic", default-features = false, features = ["codegen", "prost"] }
--- a/tonic-types/Cargo.toml
+++ b/tonic-types/Cargo.toml
@@ -18,8 +18,8 @@
 version = "0.12.3"
 
 [dependencies]
-prost = "0.13"
-prost-types = "0.13"
+prost = ">= 0.12.6, <= 0.13"
+prost-types = ">= 0.12.6, <= 0.13"
 tonic = { version = "0.12", path = "../tonic", default-features = false }
 
 [package.metadata.cargo_check_external_types]
--- a/tonic/Cargo.toml
+++ b/tonic/Cargo.toml
@@ -72,7 +72,7 @@
 tokio-stream = {version = "0.1.16", default-features = false}
 
 # prost
-prost = {version = "0.13", default-features = false, features = ["std"], optional = true}
+prost = {version = ">= 0.12.6, <= 0.13", default-features = false, features = ["std"], optional = true}
 
 # codegen
 async-trait = {version = "0.1.13", optional = true}
