Skip to content

Instantly share code, notes, and snippets.

@maurer
Created October 26, 2015 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maurer/07483c61f2b4545240fc to your computer and use it in GitHub Desktop.
Save maurer/07483c61f2b4545240fc to your computer and use it in GitHub Desktop.
extern crate capnpc;
use std::path::Path;
fn main() {
::capnpc::compile(Path::new("src"),
&[Path::new("src/holmes.capnp"),
Path::new("src/schema.capnp")]).unwrap();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment