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