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(())
}