From 611306f15636f0c8166305ebe32aba1b12894568 Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Fri, 27 Sep 2024 14:00:54 -0700 Subject: [PATCH] chore: Fix deprecated method usage in example (#381) --- examples/full/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/full/build.rs b/examples/full/build.rs index 34c5e3a6..57d12541 100644 --- a/examples/full/build.rs +++ b/examples/full/build.rs @@ -14,7 +14,7 @@ fn main() -> Result<(), Box> { let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap()); tonic_build::configure() .file_descriptor_set_path(out_dir.join("helloworld_descriptor.bin")) - .compile(&["proto/helloworld.proto"], &["proto"]) + .compile_protos(&["proto/helloworld.proto"], &["proto"]) .unwrap(); }