A Rust port of this C++ sample code.
Make sure to have the C++ capnp
binary and header files installed.
(For example, on Ubuntu you would install capnproto
and libcapnp-dev
in your package manager.)
Try it like this:
$ cargo run write | cargo run read