extern crate capnpc; fn main() { capnpc::CompilerCommand::new() .output_path("src/") .src_prefix("schemas/") .file("schemas/envelope.capnp") .run() .unwrap(); prost_build::compile_protos(&["src/envelope.proto"], &["src/"]).unwrap(); }