13 lines
285 B
Rust
13 lines
285 B
Rust
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();
|
|
}
|