Merge branch 'main' into nugine/fmt

This commit is contained in:
weisd
2024-10-12 00:54:22 +08:00
committed by GitHub
25 changed files with 1937 additions and 206 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ fn main() -> Result<(), AnyError> {
.protoc_arg("--experimental_allow_proto3_optional")
.compile_well_known_types(true)
.emit_rerun_if_changed(false)
.compile(proto_files, &[proto_dir.clone()])
.compile_protos(proto_files, &[proto_dir.clone()])
.map_err(|e| format!("Failed to generate protobuf file: {e}."))?;
// protos/gen/mod.rs