Xenon
This crate contains Rust bindings to the Xenon middleware (gRPC).
gRPC Interface
To (re)generate the gRPC interface from the Xenon's .proto
file:
- Install the protobuf compiler:
$ ./scripts/install-protoc.sh
$ cargo install protobuf-codegen
- Install the gRPC compiler:
$ cargo install grpcio-compiler
- Generate the sources:
$ cd src/proto
$ protoc --rust_out=. --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_rust_plugin` xenon.proto