Skip to content

Commit

Permalink
Do not generate well-known protobuf types (#1189)
Browse files Browse the repository at this point in the history
* Do not generate well-known types

The only WKTs needed by tendermint-proto or its clients at the moment
are Timestamp and Duration. These are currently replaced by hand-written
alternatives, so the rest of the well-known types do not need to be
generated.

* Changelog entry for #1189

Signed-off-by: Thane Thomson <[email protected]>
Co-authored-by: Thane Thomson <[email protected]>
  • Loading branch information
mzabaluev and thanethomson authored Sep 7, 2022
1 parent 8871323 commit 2f2e868
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1,022 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- `[proto]` Do not generate types in `google::protobuf`
([#1188](https://github.com/informalsystems/tendermint-rs/issues/1188)).
1 change: 0 additions & 1 deletion proto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ mod prelude;
#[allow(warnings)]
pub mod google {
pub mod protobuf {
include!("prost/google.protobuf.rs");
// custom Timeout and Duration types that have valid doctest documentation texts
include!("protobuf.rs");
}
Expand Down
Loading

0 comments on commit 2f2e868

Please sign in to comment.