fn main() -> Result<(), Box> { tonic_build::configure() .type_attribute( ".", "#[derive(serde::Deserialize, serde::Serialize)]", ) .compile(&["proto/shoebill.proto"], &["proto"])?; Ok(()) }