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