From 1591e6ce0eb741e93e8aaf6e29fa26c96089ed3c Mon Sep 17 00:00:00 2001 From: tottoto Date: Thu, 5 Sep 2024 03:54:52 +0900 Subject: [PATCH] chore(test): Use compile_protos instead of providing default config --- tests/skip_debug/Cargo.toml | 1 - tests/skip_debug/build.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/skip_debug/Cargo.toml b/tests/skip_debug/Cargo.toml index 430679691..7013b598e 100644 --- a/tests/skip_debug/Cargo.toml +++ b/tests/skip_debug/Cargo.toml @@ -13,5 +13,4 @@ prost = "0.13" tonic = { path = "../../tonic" } [build-dependencies] -prost-build = "0.13" tonic-build = { path = "../../tonic-build" } diff --git a/tests/skip_debug/build.rs b/tests/skip_debug/build.rs index a56cb797e..68ca1cd47 100644 --- a/tests/skip_debug/build.rs +++ b/tests/skip_debug/build.rs @@ -1,10 +1,9 @@ fn main() { - let config = prost_build::Config::default(); tonic_build::configure() .skip_debug("test.Test") .skip_debug("test.Output") .build_client(true) .build_server(true) - .compile_protos_with_config(config, &["proto/test.proto"], &["proto"]) + .compile_protos(&["proto/test.proto"], &["proto"]) .unwrap(); }