plexor-codec-capnp 0.1.0-alpha.2

Cap'n Proto codec implementation for the Plexo distributed system architecture.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2025 Alecks Gates
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

fn main() {
    #[cfg(debug_assertions)]
    {
        println!("cargo:rerun-if-changed=schema/example.capnp");
        capnpc::CompilerCommand::new()
            .file("schema/example.capnp")
            .output_path("src/")
            .run()
            .expect("compiling schema");
    }
}