not working, adding uctovnictvo

This commit is contained in:
filipriec
2025-02-21 18:50:54 +01:00
parent 4fc4a7e659
commit e4c14e5a1e
10 changed files with 156 additions and 3 deletions

View File

@@ -2,7 +2,9 @@
fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.build_server(true)
.file_descriptor_set_path("src/proto/descriptor.bin") // Generate the file descriptor set
.compile_protos(&["proto/api.proto"], &["proto"])?; // Use compile_protos() instead of compile()
.compile_protos(
&["proto/api.proto", "proto/uctovnictvo.proto"], // Include both proto files
&["proto"],
)?;
Ok(())
}