-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move xDS and protobuf definitions into separate crates.
This commit moves the xDS functionality in its own library, with the eventual goal of making the xDS component its own library that can be used by other services, currently this just extracts the functionality as-is, with the only change being the addition of the `xds::config::Configuration` trait which abstracts over the usage of `config::Config` in xDS as I wanted to keep that in the Quilkin library. The `quilkin-proto` library was also added to allow for the protobuf definitions to be shared between the xDS library and the quilkin application.
- Loading branch information
1 parent
2e15001
commit 0bdd832
Showing
87 changed files
with
561 additions
and
338 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[package] | ||
name = "quilkin-proto" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
prost.workspace = true | ||
prost-types.workspace = true | ||
tonic.workspace = true |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#![allow( | ||
clippy::doc_markdown, | ||
clippy::use_self, | ||
clippy::enum_variant_names, | ||
clippy::large_enum_variant, | ||
clippy::len_without_is_empty, | ||
rustdoc::bare_urls | ||
)] | ||
pub mod envoy; | ||
pub mod google; | ||
pub mod quilkin; | ||
pub mod validate; | ||
pub mod xds; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[package] | ||
name = "xds" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
quilkin-proto = { path = "../quilkin-proto" } | ||
|
||
arc-swap.workspace = true | ||
async-stream.workspace = true | ||
cached.workspace = true | ||
enum-map.workspace = true | ||
eyre.workspace = true | ||
futures.workspace = true | ||
once_cell.workspace = true | ||
prometheus.workspace = true | ||
rand.workspace = true | ||
prost.workspace = true | ||
prost-types.workspace = true | ||
serde.workspace = true | ||
serde_json.workspace = true | ||
schemars.workspace = true | ||
fixedstr.workspace = true | ||
parking_lot.workspace = true | ||
thiserror.workspace = true | ||
tokio-stream.workspace = true | ||
tokio.workspace = true | ||
tonic.workspace = true | ||
tracing-futures.workspace = true | ||
tracing.workspace = true | ||
tryhard.workspace = true | ||
uuid.workspace = true |
Oops, something went wrong.