From bb782d6cf5d7440f4ac2fd97250715c4745321ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=81=E9=80=9F=E8=9C=97=E7=89=9B?= <31986081+Jisu-Woniu@users.noreply.github.com> Date: Fri, 6 Dec 2024 10:31:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(rsjudge-grpc):=20=F0=9F=9A=A8=20replace=20d?= =?UTF-8?q?eprecated=20`compile`=20method=20with=20`compile=5Fprotos`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/rsjudge-grpc/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rsjudge-grpc/build.rs b/crates/rsjudge-grpc/build.rs index cf067cd..86b25d3 100644 --- a/crates/rsjudge-grpc/build.rs +++ b/crates/rsjudge-grpc/build.rs @@ -40,7 +40,7 @@ async fn main() -> anyhow::Result<()> { configure() .emit_rerun_if_changed(false) .bytes(["."]) - .compile(&proto_files, &[&proto_out_dir])?; + .compile_protos(&proto_files, &[&proto_out_dir])?; println!("cargo:rerun-if-changed=proto");