28 lines
878 B
Rust
28 lines
878 B
Rust
//! A `tonic` based gRPC Server Reflection implementation.
|
|
|
|
#![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"
|
|
)]
|
|
#![deny(rustdoc::broken_intra_doc_links)]
|
|
#![doc(html_root_url = "https://docs.rs/tonic-reflection/0.3.0")]
|
|
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
|
|
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
|
|
#![cfg_attr(docsrs, feature(doc_cfg))]
|
|
|
|
pub(crate) mod proto {
|
|
#![allow(unreachable_pub)]
|
|
tonic::include_proto!("grpc.reflection.v1alpha");
|
|
|
|
pub(crate) const FILE_DESCRIPTOR_SET: &[u8] =
|
|
tonic::include_file_descriptor_set!("reflection_v1alpha1");
|
|
}
|
|
|
|
/// Implementation of the server component of gRPC Server Reflection.
|
|
pub mod server;
|