Skip to content

Commit

Permalink
proto: re-export prost_types as well_known_types
Browse files Browse the repository at this point in the history
My main interest is being able to get to `prost_types::Timestamp`
without having to include `prost_types` in addition to
`tendermint-proto`, however I think there might be more cases where it's
helpful to have access to the well-known proto types in the future.
  • Loading branch information
tony-iqlusion committed Nov 3, 2020
1 parent 34a2386 commit 1afaa33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ mod tendermint {
}

pub use tendermint::*;
pub use prost_types as well_known_types;

mod domaintype;
pub use domaintype::DomainType;
Expand Down

0 comments on commit 1afaa33

Please sign in to comment.