locustdb-serialization 0.2.2

Serialization formats used by LocustDB for peristent storage and client/server communication.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod dbmeta_capnp;
pub mod partition_segment_capnp;
pub mod wal_segment_capnp;
pub mod api_capnp;
pub mod api;
pub mod event_buffer;


pub fn default_reader_options() -> capnp::message::ReaderOptions {
    let mut options = capnp::message::ReaderOptions::new();
    // Allow messages up to 2GiB
    options.traversal_limit_in_words(Some(256 * 1024 * 1024));
    options
}