splitting proto conf, still some errors, fixing

This commit is contained in:
filipriec
2025-02-22 13:09:13 +01:00
parent 740d1d83c4
commit 449f1bd14e
15 changed files with 132 additions and 51 deletions

View File

@@ -4,7 +4,12 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.build_server(true)
.file_descriptor_set_path("src/proto/descriptor.bin")
.compile_protos(
&["proto/adresar.proto", "proto/uctovnictvo.proto"],
&[
"proto/common.proto",
"proto/adresar.proto",
"proto/uctovnictvo.proto",
"proto/table_structure.proto"
],
&["proto"],
)?;
Ok(())