Skip to content

Commit

Permalink
Move bip152 module to crate root
Browse files Browse the repository at this point in the history
We are attempting to flatten the `util` module; move the `bip152` module
to the crate root out of `util`.

Currently `src/util/` is ignored by the formatter so this move causes
the `bip152` module to be formatted.
  • Loading branch information
tcharding committed Sep 14, 2022
1 parent 4e85cd0 commit 9b35845
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
File renamed without changes.
1 change: 1 addition & 0 deletions bitcoin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ mod serde_utils;
#[macro_use]
pub mod network;
pub mod address;
pub mod bip152;
pub mod bip158;
pub mod blockdata;
pub mod consensus;
Expand Down
4 changes: 3 additions & 1 deletion bitcoin/src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ pub mod amount;
pub mod base58;
pub mod bip32;
pub mod bip143;
pub mod bip152;
pub mod hash;
pub mod merkleblock;
pub mod misc;
Expand Down Expand Up @@ -118,5 +117,8 @@ pub mod address {
pub use crate::address::*;
}

#[deprecated(since = "0.30.0", note = "Please use crate::bip152")]
pub use crate::bip152;

#[deprecated(since = "0.30.0", note = "Please use crate::bip158")]
pub use crate::bip158;

0 comments on commit 9b35845

Please sign in to comment.