Files
tonic/tonic-health/build.rs
T
2021-04-13 17:54:18 -04:00

10 lines
233 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.build_server(true)
.build_client(true)
.format(false)
.compile(&["proto/health.proto"], &["proto/"])?;
Ok(())
}