xenon-rs 0.3.0

Rust bindings to the Xenon middleware (gRPC).
Documentation

Xenon

Build Status License: MIT Coverage Status Crates.io

This crate contains Rust bindings to the Xenon middleware (gRPC).

gRPC Interface

To (re)generate the gRPC interface from the Xenon's .proto file:

  1. Install the protobuf compiler:
$ ./scripts/install-protoc.sh
$ cargo install protobuf-codegen
  1. Install the gRPC compiler:
$ cargo install grpcio-compiler
  1. Generate the sources:
$ cd src/proto
$ protoc --rust_out=. --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_rust_plugin` xenon.proto