2 releases
0.2.1 | May 12, 2024 |
---|---|
0.2.0 | May 5, 2024 |
#1165 in Encoding
81 downloads per month
Used in locustdb
500KB
10K
SLoC
LocustDB Serialization
Util crate that defines Cap'n Proto schema and serialization/deserialization logic for data structures used for persistent storage and client-server communication in LocustDB.
To regenerate the Cap'n Proto definitions, follow this process:
- [Install the Cap'n Proto CLI tool][install-capnproto]
cargo install capnpc
capnp compile -orust:src --src-prefix=schemas schemas/{dbmeta,partition_segment,wal_segment,api}.capnp
Dependencies
~1.5–2MB
~48K SLoC