teleop 0.3.0

Teleoperate Rust Processes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fn main() {
    capnpc::CompilerCommand::new()
        .src_prefix("schema")
        .file("schema/teleop.capnp")
        .default_parent_module(vec!["operate".to_owned(), "capnp".to_owned()])
        .run()
        .expect("compiled teleop");

    capnpc::CompilerCommand::new()
        .src_prefix("schema")
        .file("schema/echo.capnp")
        .default_parent_module(vec!["operate".to_owned(), "capnp::echo".to_owned()])
        .run()
        .expect("compiled echo");
}