Crates.io | locustdb-serialization |
lib.rs | locustdb-serialization |
version | 0.2.1 |
source | src |
created_at | 2024-05-05 01:08:41.150978 |
updated_at | 2024-05-12 14:46:06.783809 |
description | Serialization formats used by LocustDB for peristent storage and client/server communication. |
homepage | |
repository | |
max_upload_size | |
id | 1229954 |
size | 503,167 |
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:
cargo install capnpc
capnp compile -orust:src --src-prefix=schemas schemas/{dbmeta,partition_segment,wal_segment,api}.capnp