comprehensive_grpc 0.9.0

A harness for creating consistently-shaped servers will less boilerplate
Documentation
1
2
3
4
5
6
7
8
fn main() -> Result<(), Box<dyn std::error::Error>> {
    let fds_path =
        std::path::PathBuf::from(std::env::var("OUT_DIR").expect("$OUT_DIR")).join("fdset.bin");
    tonic_prost_build::configure()
        .file_descriptor_set_path(fds_path)
        .compile_protos(&["proto/test.proto"], &["proto"])?;
    Ok(())
}