Skip to content

Commit 3bc2910

Browse files
yancyribbensshinghim
authored andcommitted
Add re-export for primitives to Bitcoin crate
Enable use of `primitives` from bitcoin, eg: `use bitcoin::primitives`
1 parent 9c7ed16 commit 3bc2910

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bitcoin/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ pub extern crate hex;
7474
/// Re-export the `bitcoin-io` crate.
7575
pub extern crate io;
7676

77+
/// Re-export the `primitives` crate.
78+
pub extern crate primitives;
79+
7780
/// Re-export the `rust-secp256k1` crate.
7881
///
7982
/// Rust wrapper library for Pieter Wuille's libsecp256k1. Implements ECDSA and BIP-0340 signatures

0 commit comments

Comments
 (0)