1 2 3 4 5 6 7 8 9 10
fn main() -> Result<(), Box<dyn std::error::Error>> { tonic_prost_build::configure() .build_server(false) .build_client(true) .compile_protos( &["proto/ppoppo/external/v1/external.proto"], &["proto/ppoppo/external/v1"], )?; Ok(()) }