use anyhow::Result; fn main() -> Result<()> { std::env::set_var("PROTOC", protobuf_src::protoc()); let mut prost_build = prost_build::Config::new(); prost_build.enable_type_names(); prost_build.compile_protos( &[ /* Any protobuf files go here */ "protobuf/celp_system_event.proto", "protobuf/celp_system_event_app_info.proto", ], &["protobuf/"], )?; Ok(()) }