Re-export Parity struct

pub struct Parity is under a private module key. It is therefore not
possible to use it downstream.
This commit is contained in:
sanket1729 2022-01-06 08:57:17 +05:30
parent f7baa53b94
commit e595b39510
2 changed files with 2 additions and 6 deletions

View File

@ -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"

View File

@ -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};