Files
NxMesh/crates/nxmesh-proto/build.rs

11 lines
274 B
Rust

use std::io::Result;
fn main() -> Result<()> {
tonic_prost_build::configure()
.build_server(true)
.build_client(true)
.protoc_arg("--experimental_allow_proto3_optional")
.compile_protos(&["proto/agent.proto"], &["proto"])?;
Ok(())
}