1 //! A `tonic` based gRPC Server Reflection implementation. 2 3 #![warn( 4 missing_debug_implementations, 5 missing_docs, 6 rust_2018_idioms, 7 unreachable_pub 8 )] 9 #![doc( 10 html_logo_url = "https://github.com/hyperium/tonic/raw/master/.github/assets/tonic-docs.png" 11 )] 12 #![doc(html_root_url = "https://docs.rs/tonic-reflection/0.1.0")] 13 #![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")] 14 #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] 15 #![cfg_attr(docsrs, feature(doc_cfg))] 16 17 pub(crate) mod proto { 18 #![allow(unreachable_pub)] 19 tonic::include_proto!("grpc.reflection.v1alpha"); 20 21 pub(crate) const FILE_DESCRIPTOR_SET: &'static [u8] = 22 tonic::include_file_descriptor_set!("reflection_v1alpha1"); 23 } 24 25 /// Implementation of the server component of gRPC Server Reflection. 26 pub mod server; 27