xds_api/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#![doc = include_str!("../README.md")]

mod any;

#[allow(clippy::all, clippy::pedantic, clippy::nursery)]
mod generated;

pub mod pb {
    pub use crate::generated::*;
}

pub use any::WellKnownTypes;

mod value;

/// A serialized file descriptor set containing the entirety of the XDS API.
///
/// See [`prost_types`][fd] and the GRPC documentation for information on how to use
/// a descriptor set.
///
/// [fd]: https://docs.rs/prost-types/0.13.1/prost_types/struct.FileDescriptorSet.html
#[cfg(feature = "descriptor")]
pub const FILE_DESCRIPTOR_SET: &[u8] = include_bytes!("xds-descriptors.bin");