Skip to content

Commit e595b39

Browse files
committed
Re-export Parity struct
pub struct Parity is under a private module key. It is therefore not possible to use it downstream.
1 parent f7baa53 commit e595b39

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,7 @@ pub mod schnorr;
152152
#[cfg(feature = "serde")]
153153
mod serde_util;
154154

155-
pub use key::SecretKey;
156-
pub use key::PublicKey;
157-
pub use key::ONE_KEY;
158-
pub use key::KeyPair;
159-
pub use key::XOnlyPublicKey;
155+
pub use key::{SecretKey, PublicKey, ONE_KEY, KeyPair, XOnlyPublicKey, Parity};
160156
pub use context::*;
161157
use core::marker::PhantomData;
162158
use core::{mem, fmt, str};

0 commit comments

Comments
 (0)