feat(types): Add tonic-types crate (#391)

This commit is contained in:
Lucio Franco
2020-07-08 18:01:16 -04:00
committed by GitHub
parent ab1de44771
commit ea7fe66b14
6 changed files with 93 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
//! A collection of useful protobuf types that can be used with `tonic`.
#![warn(
missing_debug_implementations,
missing_docs,
rust_2018_idioms,
unreachable_pub
)]
#![doc(
html_logo_url = "https://github.com/hyperium/tonic/raw/master/.github/assets/tonic-docs.png"
)]
#![doc(html_root_url = "https://docs.rs/tonic-types/0.1.0")]
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
mod pb {
include!(concat!(env!("OUT_DIR"), "/google.rpc.rs"));
}
pub use pb::Status;