Skip to content

Commit 74e8fc7

Browse files
committed
Merge #360: Re-export Parity struct
e595b39 Re-export Parity struct (sanket1729) Pull request description: pub struct Parity is under a private module key and not re-exported in lib.rs . It is therefore not possible to use it downstream. ACKs for top commit: elichai: ACK e595b39 apoelstra: ACK e595b39 Tree-SHA512: 2573689f9a08505c8dfe8f79cd921d5a2742a2a2f4f92cf4066fe6557c765c756531d13560fa4fe6461f094b0c11a52aca30b44542eb77eda7dd1ebd24d3b155
2 parents 88f6bae + e595b39 commit 74e8fc7

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "secp256k1"
3-
version = "0.21.0"
3+
version = "0.21.1"
44
authors = [ "Dawid Ciężarkiewicz <[email protected]>",
55
"Andrew Poelstra <[email protected]>" ]
66
license = "CC0-1.0"

src/lib.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,7 @@ pub mod schnorr;
181181
#[cfg(feature = "serde")]
182182
mod serde_util;
183183

184-
pub use key::SecretKey;
185-
pub use key::PublicKey;
186-
pub use key::ONE_KEY;
187-
pub use key::KeyPair;
188-
pub use key::XOnlyPublicKey;
184+
pub use key::{SecretKey, PublicKey, ONE_KEY, KeyPair, XOnlyPublicKey, Parity};
189185
pub use context::*;
190186
use core::marker::PhantomData;
191187
use core::{mem, fmt, str};

0 commit comments

Comments
 (0)