oxia-client 0.1.0

Native Rust client SDK for Oxia, a distributed key-value store. Provides an idiomatic, asynchronous API built on Tokio.
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    tonic_build::configure()
        .build_client(true)
        .build_server(false)
        // Generate `bytes::Bytes` for all proto `bytes` fields (record values):
        // decoding borrows the receive buffer and cloning is refcounted, so
        // values move through the client without byte copies.
        .bytes(["."])
        .compile_protos(&["proto/client.proto"], &["proto"])
        .unwrap();
}