fn main() -> Result<(), Box> { // No `connect()` convenience impl: it hardcodes tonic::transport, // which the wasm build of this crate deliberately lacks // (architecture/web-client.md). Clients construct their channel // (native: Endpoint, browser: tonic-web-wasm-client) themselves. tonic_prost_build::configure() .build_transport(false) .compile_protos(&["crabidy/v1/crabidy.proto"], &["."])?; Ok(()) }