fn main() -> Result<(), Box> { #[cfg(feature = "codegen")] tonic_build::configure() .out_dir("proto") .compile(&["acts.proto"], &["proto"])?; Ok(()) }