From e595b395102722e855481baa935ef36d9c82b4e7 Mon Sep 17 00:00:00 2001 From: sanket1729 Date: Thu, 6 Jan 2022 08:57:17 +0530 Subject: [PATCH] Re-export Parity struct pub struct Parity is under a private module key. It is therefore not possible to use it downstream. --- Cargo.toml | 2 +- src/lib.rs | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ef09a37..93b0514 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "secp256k1" -version = "0.21.0" +version = "0.21.1" authors = [ "Dawid Ciężarkiewicz ", "Andrew Poelstra " ] license = "CC0-1.0" diff --git a/src/lib.rs b/src/lib.rs index 6cd6a63..1c7887e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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};