mod protobuf;
mod rpc;
pub mod serde;
#[macro_export]
macro_rules! include_proto {
($package: tt) => {
include!(concat!(env!("OUT_DIR"), concat!("/", $package, ".rs")));
};
}
#[macro_export]
macro_rules! include_file_descriptor_set {
() => {
include_file_descriptor_set!("fd");
};
($name:tt) => {
include_bytes!(concat!(env!("OUT_DIR"), concat!("/", $name, ".fd")));
};
}
#[allow(unused_qualifications, clippy::all, clippy::pedantic)]
pub mod google {
pub mod protobuf {
pub use super::super::protobuf::*;
crate::include_proto!("google.protobuf");
crate::include_proto!("google.protobuf.plus");
}
pub mod rpc {
pub use super::super::rpc::*;
crate::include_proto!("google.rpc");
crate::include_proto!("google.rpc.plus");
}
}