Skip to content

Commit e4dd8f8

Browse files
committed
fix(rs): address proto compile deprecation
1 parent b06d5cf commit e4dd8f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/gen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
2121
.build_client(true)
2222
.build_server(true)
2323
.out_dir(out_dir)
24-
.compile(&proto_files, &[proto_dir])
24+
.compile_protos(&proto_files, &[proto_dir])
2525
{
2626
eprintln!("{}", e.to_string().replace("\\n", "\n").trim_end());
2727
std::process::exit(1);

0 commit comments

Comments
 (0)