mirror of
https://github.com/bspeice/capnp_cookbook_1
synced 2024-12-26 00:18:09 -05:00
9 lines
182 B
Rust
9 lines
182 B
Rust
|
extern crate capnpc;
|
||
|
|
||
|
fn main() {
|
||
|
::capnpc::CompilerCommand::new()
|
||
|
.src_prefix("schema")
|
||
|
.file("schema/point.capnp")
|
||
|
.run().expect("compiling schema");
|
||
|
}
|