hubble 0.1.2

Official Hubble plugin SDK for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    println!("cargo:rerun-if-changed=schema/shared/*");

    ::capnpc::CompilerCommand::new()
        .src_prefix("schema/shared")
        .file("schema/shared/store.capnp")
        .file("schema/shared/entry.capnp")
        .file("schema/shared/network.capnp")
        .run()
        .expect("Failed to compile Cap'n Proto schema");
}