proto/build.rs
Noor df3a4631dd
Cleanup
Remove unused proto files and related references from the project
2025-02-06 14:57:50 +05:30

9 lines
267 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.build_server(true)
.protoc_arg("--experimental_allow_proto3_optional")
.compile_protos(&["proto/brain.proto", "proto/dtpm.proto"], &["proto"])?;
Ok(())
}