From 47ccd8173bb5e7c11a61fa9493566a4280d2a4a0 Mon Sep 17 00:00:00 2001 From: Mateus Devino Date: Fri, 22 Aug 2025 14:54:24 -0300 Subject: [PATCH 1/3] Upgrade tonic related dependencies Signed-off-by: Mateus Devino --- mocktail-tests/Cargo.toml | 8 +++++--- mocktail-tests/build.rs | 2 +- mocktail/Cargo.toml | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/mocktail-tests/Cargo.toml b/mocktail-tests/Cargo.toml index 9784c25..ff1bf42 100644 --- a/mocktail-tests/Cargo.toml +++ b/mocktail-tests/Cargo.toml @@ -4,10 +4,11 @@ edition = "2021" [dependencies] tokio = "1" -tonic = "0.12" +tonic = "0.14" +tonic-prost = "0.14" serde = { version = "1", features = ["derive"] } serde_json = "1" -prost = "0.13" +prost = "0.14" anyhow = "1" futures = "0" mocktail = { path = "../mocktail" } @@ -19,4 +20,5 @@ test-log = { version = "0", features = ["trace"] } tracing = "0" [build-dependencies] -tonic-build = "0.12" +tonic-build = "0.14" +tonic-prost-build = "0.14" diff --git a/mocktail-tests/build.rs b/mocktail-tests/build.rs index 36d7942..90e366e 100644 --- a/mocktail-tests/build.rs +++ b/mocktail-tests/build.rs @@ -1,4 +1,4 @@ fn main() -> Result<(), Box> { - tonic_build::compile_protos("proto/example.proto").unwrap(); + tonic_prost_build::compile_protos("proto/example.proto").unwrap(); Ok(()) } diff --git a/mocktail/Cargo.toml b/mocktail/Cargo.toml index ab61579..ef601c8 100644 --- a/mocktail/Cargo.toml +++ b/mocktail/Cargo.toml @@ -24,7 +24,7 @@ http-body = "1" http-body-util = "0" hyper = { version = "1", features = ["http1", "http2", "server"] } hyper-util = { version = "0", features = ["tokio", "server-auto"] } -prost = "0.13" +prost = "0.14" rand = "0.9" serde = "1" serde_json = "1" From 34a058e3a95ee7f0f2c1e4a32dde65608ae43749 Mon Sep 17 00:00:00 2001 From: Mateus Devino Date: Fri, 22 Aug 2025 14:55:36 -0300 Subject: [PATCH 2/3] Update uuid Signed-off-by: Mateus Devino --- mocktail/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mocktail/Cargo.toml b/mocktail/Cargo.toml index ef601c8..4affb89 100644 --- a/mocktail/Cargo.toml +++ b/mocktail/Cargo.toml @@ -33,4 +33,4 @@ tokio = "1" tokio-stream = "0" tracing = "0" url = "2" -uuid = { version = "1.16.0", features = ["fast-rng", "v7"] } +uuid = { version = "1.18.0", features = ["fast-rng", "v7"] } From 0e03c88235dc8022e363d522aeb616846a6b0a57 Mon Sep 17 00:00:00 2001 From: Mateus Devino Date: Fri, 22 Aug 2025 15:07:35 -0300 Subject: [PATCH 3/3] Loosen uuid dependency version Signed-off-by: Mateus Devino --- mocktail/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mocktail/Cargo.toml b/mocktail/Cargo.toml index 4affb89..6ce7366 100644 --- a/mocktail/Cargo.toml +++ b/mocktail/Cargo.toml @@ -33,4 +33,4 @@ tokio = "1" tokio-stream = "0" tracing = "0" url = "2" -uuid = { version = "1.18.0", features = ["fast-rng", "v7"] } +uuid = { version = "1", features = ["fast-rng", "v7"] }