1 2 3 4 5
fn main() -> Result<(), Box<dyn std::error::Error>> { #[cfg(feature = "regenerate-proto")] prost_build::compile_protos(&["proto/device_v4.proto"], &["proto/"])?; Ok(()) }