The [Serde](https://serde.rs/) library supports many serialization formats but not capnproto. One useful feature is the [transcode](https://serde.rs/transcode.html) functionality where it is possible to convert from one format to the other.