Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Commit

Permalink
Change exported API to include top-level modules (#9)
Browse files Browse the repository at this point in the history
* Fix clash between re-exported modules causing glitches in documentation

* Bump version to 0.3.0
  • Loading branch information
romac authored Sep 15, 2020
1 parent 73b87ce commit b7075b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ibc_proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibc-proto"
version = "0.2.2"
version = "0.3.0"
authors = ["Greg Szabo <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
Expand Down
13 changes: 4 additions & 9 deletions ibc_proto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#![forbid(unsafe_code)]
#![doc(html_root_url = "https://docs.rs/ibc-proto/0.1.0")]

mod cosmos {
pub mod cosmos {
pub mod base {
pub mod v1beta1 {
include!("prost/cosmos.base.v1beta1.rs");
Expand Down Expand Up @@ -67,7 +67,7 @@ mod cosmos {
}
}

mod ibc {
pub mod ibc {
pub mod client {
include!("prost/ibc.client.rs");
}
Expand All @@ -94,11 +94,11 @@ mod ibc {
}
}

mod ics23 {
pub mod ics23 {
include!("prost/ics23.rs");
}

mod tendermint {
pub mod tendermint {
pub mod abci {
include!("prost/tendermint.abci.rs");
}
Expand All @@ -117,8 +117,3 @@ mod tendermint {
include!("prost/tendermint.version.rs");
}
}

pub use cosmos::*;
pub use ibc::*;
pub use ics23::*;
pub use tendermint::*;

0 comments on commit b7075b9

Please sign in to comment.