From 683e9d10ae7f3dfb8aaabd89082fc600c17e3795 Mon Sep 17 00:00:00 2001 From: Yingwen Date: Wed, 22 Jan 2025 16:46:05 +0800 Subject: [PATCH] chore: upgrade `prost` (#211) Co-authored-by: luofucong Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com> --- Cargo.toml | 6 +++--- build.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 353974d..caa79ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" license = "Apache-2.0" [dependencies] -prost = "0.12" +prost = "0.13" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" strum = "0.25" strum_macros = "0.25" -tonic = "0.11" +tonic = "0.12" [build-dependencies] -tonic-build = "0.11" +tonic-build = "0.12" diff --git a/build.rs b/build.rs index 3834aba..2db139b 100644 --- a/build.rs +++ b/build.rs @@ -27,7 +27,7 @@ fn main() { "region.RegionRequest.body", "#[derive(strum_macros::AsRefStr)]", ) - .compile( + .compile_protos( &[ "proto/greptime/v1/database.proto", "proto/greptime/v1/health.proto",