raas-types/build.rs

18 lines
343 B
Rust

use std::io::Result;
fn main() -> Result<()> {
tonic_build::configure()
.compile(
&[
"src/ping.proto",
"src/register.proto",
"src/roll.proto",
"src/cmd.proto",
"src/resp.proto",
"src/service.proto",
],
&["src/"],
)?;
Ok(())
}