Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions grpc-xds/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ allowed_external_types = []
[dependencies]
protobuf = "4.35.1-release"
protobuf-well-known-types = "4.35.1-release"
bytes = "1.11.0"
xds-client = { version = "0.1.0-alpha.2", path = "../xds-client", default-features = false }
regex = "1"

[build-dependencies]
protobuf-codegen = "4.35.1-release"
Expand Down
10 changes: 10 additions & 0 deletions grpc-xds/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ pub(crate) mod generated {
include!(concat!(env!("OUT_DIR"), "/generated/mod.rs"));
}

/// Validated xDS resource types (LDS/RDS/CDS/EDS), each implementing
/// `xds_client::Resource` so they can be deserialized, named, and validated
/// per their respective gRFCs (A27 core resource types, A28 route matching,
/// A37 aggregate clusters).
pub(crate) mod resource;

/// [`xds_config::XdsConfig`]: the atomic xDS configuration snapshot assembled
/// from a channel's Listener/RouteConfiguration/Cluster/Endpoints resources.
pub(crate) mod xds_config;

#[cfg(test)]
mod tests {
//! Sanity checks that the generated xDS modules are importable and usable
Expand Down
Loading
Loading