prost-simple-rpc-build 0.3.0

Build script helpers for prost-simple-rpc
docs.rs failed to build prost-simple-rpc-build-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

A library for generating code to be used with prost-simple-rpc.

Use the ServiceGenerator with prost-build to generate the code:

extern crate prost_build;
extern crate prost_simple_rpc_build;

fn main() {
# ::std::env::set_var("OUT_DIR", ::std::env::temp_dir());
    prost_build::Config::new()
        .service_generator(Box::new(prost_simple_rpc_build::ServiceGenerator::new()))
        .compile_protos(&["test/example.proto"], &["test"])
        .unwrap();
}