nullnet-libdatastore 0.5.1

Nullnet datastore driver
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const DATASTORE_PROTOBUF_PATH: &str = "./proto/datastore.proto";
#[allow(unused)]
const STORE_PROTOBUF_PATH: &str = "./proto/store.proto";

const PROTOBUF_DIR_PATH: &str = "./proto";

fn main() {
    tonic_build::configure()
        .out_dir("./src")
        .compile_protos(
            &[DATASTORE_PROTOBUF_PATH /*STORE_PROTOBUF_PATH*/],
            &[PROTOBUF_DIR_PATH],
        )
        .expect("Protobuf files generation failed");
}