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