1 2 3 4 5 6 7
fn main() -> Result<(), Box<dyn std::error::Error>> { #[cfg(feature = "grpc")] tonic_build::configure() .emit_rerun_if_changed(true) .compile_protos(&["proto/message.proto", "proto/x3dh.proto"], &["proto"])?; Ok(()) }