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(); }