Files
tonic/tonic-health/build.rs
T

10 lines
234 B
Rust

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