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

10 lines
201 B
Rust

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