xds_api/
lib.rs

1#![allow(clippy::doc_lazy_continuation)]
2#![doc = include_str!("../README.md")]
3
4mod any;
5
6#[allow(clippy::all, clippy::pedantic, clippy::nursery)]
7mod generated;
8
9pub mod pb {
10    pub use crate::generated::*;
11}
12
13pub use any::WellKnownTypes;
14
15mod value;
16
17/// A serialized file descriptor set containing the entirety of the XDS API.
18///
19/// See [`prost_types`][fd] and the GRPC documentation for information on how to use
20/// a descriptor set.
21///
22/// [fd]: https://docs.rs/prost-types/0.13.1/prost_types/struct.FileDescriptorSet.html
23#[cfg(feature = "descriptor")]
24pub const FILE_DESCRIPTOR_SET: &[u8] = include_bytes!("xds-descriptors.bin");