Skip to content

Commit

Permalink
Remove support of serde
Browse files Browse the repository at this point in the history
This commit remove the use of protoc-prost-serde, and the support of
serde is deleted. Since serde and json is not necessary, this commit
is considered reasonable.
  • Loading branch information
duskmoon314 committed Aug 10, 2024
1 parent ec84f0e commit 5b5cf84
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 18,202 deletions.
1 change: 0 additions & 1 deletion codegen/compile_protos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ $PROTOC $PROTOS $PROTOFLAGS \
--prost_out="$BUILD_DIR/rust_out/src" \
--prost_opt=compile_well_known_types \
--prost_opt=extern_path=.google.protobuf=::pbjson_types \
--prost-serde_out="$BUILD_DIR/rust_out/src" \
--tonic_out="$BUILD_DIR/rust_out/src" \
--tonic_opt=compile_well_known_types \
--tonic_opt=extern_path=.google.protobuf=::pbjson_types \
Expand Down
1 change: 0 additions & 1 deletion rust/src/google.rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,5 +223,4 @@ impl Code {
}
}
}
include!("google.rpc.serde.rs");
// @@protoc_insertion_point(module)
244 changes: 0 additions & 244 deletions rust/src/google.rpc.serde.rs

This file was deleted.

1 change: 0 additions & 1 deletion rust/src/p4.config.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1228,5 +1228,4 @@ pub struct Digest {
#[prost(message, optional, tag="2")]
pub type_spec: ::core::option::Option<P4DataTypeSpec>,
}
include!("p4.config.v1.serde.rs");
// @@protoc_insertion_point(module)
Loading

0 comments on commit 5b5cf84

Please sign in to comment.