1 2 3 4 5
use std::io::Result; fn main() -> Result<()> { prost_build::compile_protos(&["./proto/all.proto"], &["./proto"])?; Ok(()) }