From df2c587d78c63290da2eb1acbb2ead54069b6443 Mon Sep 17 00:00:00 2001 From: Lukasz Klimek <842586+lklimek@users.noreply.github.com> Date: Tue, 8 Oct 2024 08:28:24 +0200 Subject: [PATCH] chore: rename deprecated --- proto-compiler/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto-compiler/src/lib.rs b/proto-compiler/src/lib.rs index a36a4e1..fa21dfa 100644 --- a/proto-compiler/src/lib.rs +++ b/proto-compiler/src/lib.rs @@ -128,7 +128,7 @@ pub fn proto_compile(mode: GenerationMode) { #[cfg(feature = "grpc")] tonic_build::configure() .generate_default_stubs(true) - .compile_with_config(pb, &protos, &proto_includes_paths) + .compile_protos_with_config(pb, &protos, &proto_includes_paths) .unwrap(); #[cfg(not(feature = "grpc"))] panic!("grpc feature is required to compile {}", mode.to_string());