Skip to content

Commit

Permalink
Merge pull request #310 from bulwark-security/eject-pbjson
Browse files Browse the repository at this point in the history
Strip out `pbjson` since we don't need it
  • Loading branch information
sporkmonger committed May 24, 2024
2 parents 7ae1cd5 + cfb4fe7 commit 63fecee
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 111 deletions.
112 changes: 7 additions & 105 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions crates/ext-processor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,13 @@ bytes = "1"
json = "0.12.4"
matchit = "0.7.0"
prost = "^0.11"
prost-types = "^0.11"
sfv = "0.9.2"
pbjson = "^0.5"
pbjson-types = "^0.5"
# typetag = "^0.2"

[dev-dependencies]
redis-test = { workspace = true }

[build-dependencies]
pbjson-build = "0.6.2"
tonic-build = "0.9.2"

[lib]
Expand Down
2 changes: 0 additions & 2 deletions crates/ext-processor/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ fn main() -> Result<()> {
.build_server(true)
.build_client(false)
.file_descriptor_set_path(descriptor_path.clone())
.compile_well_known_types(true)
.extern_path(".google.protobuf", "::pbjson_types")
.compile(
&[
"protobuf/data-plane-api/envoy/config/common/mutation_rules/v3/mutation_rules.proto",
Expand Down
1 change: 1 addition & 0 deletions crates/ext-processor/src/protobuf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub mod envoy {
pub mod filters {
pub mod http {
pub mod ext_authz {
#[allow(clippy::large_enum_variant)]
pub mod v3 {
include!(concat!(
env!("OUT_DIR"),
Expand Down

0 comments on commit 63fecee

Please sign in to comment.