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