[][src]Macro tonic::include_proto

macro_rules! include_proto {
    ($package: tt) => { ... };
}

Include generated proto server and client items.

You must specify the gRPC package name.

This example is not tested
mod pb {
    tonic::include_proto("helloworld");
}