Skip to content

Commit

Permalink
Re-export Parity struct
Browse files Browse the repository at this point in the history
pub struct Parity is under a private module key. It is therefore not
possible to use it downstream.
  • Loading branch information
sanket1729 committed Jan 6, 2022
1 parent f7baa53 commit e595b39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "secp256k1"
version = "0.21.0"
version = "0.21.1"
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
"Andrew Poelstra <apoelstra@wpsoftware.net>" ]
license = "CC0-1.0"
Expand Down
6 changes: 1 addition & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,7 @@ pub mod schnorr;
#[cfg(feature = "serde")]
mod serde_util;

pub use key::SecretKey;
pub use key::PublicKey;
pub use key::ONE_KEY;
pub use key::KeyPair;
pub use key::XOnlyPublicKey;
pub use key::{SecretKey, PublicKey, ONE_KEY, KeyPair, XOnlyPublicKey, Parity};
pub use context::*;
use core::marker::PhantomData;
use core::{mem, fmt, str};
Expand Down

0 comments on commit e595b39

Please sign in to comment.