From 8384783351cb8214a3550eaa1ed64142756f818c Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 19 Mar 2024 18:22:13 +1100 Subject: [PATCH] Remove wildcard re-exports of key types Wildcards make it hard to grep for where stuff comes from, explicit imports and re-exports are ... more explicit. Re-export the `key` types explicitly. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 86f5deaac..a1954761b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -189,7 +189,7 @@ pub use crate::context::{All, SignOnly, VerifyOnly}; pub use crate::context::{Context, Signing, Verification, AllPreallocated, SignOnlyPreallocated, VerifyOnlyPreallocated}; use crate::ffi::types::AlignedType; use crate::ffi::CPtr; -pub use crate::key::{PublicKey, SecretKey, *}; +pub use crate::key::{PublicKey, SecretKey, Keypair, XOnlyPublicKey, Parity, InvalidParityValue}; pub use crate::scalar::Scalar; /// Trait describing something that promises to be a 32-byte random number; in particular,