vecgraph-proto 0.1.1

Protobuf definitions for vecgraph's gRPC API.
Documentation
1
2
3
4
5
6
7
8
9
fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_prost_build::configure()
        .protoc_arg("--experimental_allow_proto3_optional")
        .build_server(true)
        .build_client(true)
        .type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
        .compile_protos(&["proto/graphstore.proto"], &["proto/"])?;
    Ok(())
}