pajamax 0.2.0

Fast gRPC server framework in synchronous mode.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Include generated proto server and client items.
///
/// You must specify the gRPC package name.
///
/// Examples:
///
/// ```rust,ignore
/// mod pb {
///     pajamax::include_proto!("helloworld");
/// }
/// ```
#[macro_export]
macro_rules! include_proto {
    ($package: tt) => {
        include!(concat!(env!("OUT_DIR"), concat!("/", $package, ".rs")));
    };
}