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.
This commit is contained in:
Tobin C. Harding 2024-03-19 18:22:13 +11:00
parent d63e95b99b
commit 0da394e648
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ pub use crate::context::{
}; };
use crate::ffi::types::AlignedType; use crate::ffi::types::AlignedType;
use crate::ffi::CPtr; use crate::ffi::CPtr;
pub use crate::key::{PublicKey, SecretKey, *}; pub use crate::key::{InvalidParityValue, Keypair, Parity, PublicKey, SecretKey, XOnlyPublicKey};
pub use crate::scalar::Scalar; pub use crate::scalar::Scalar;
/// Trait describing something that promises to be a 32-byte random number; in particular, /// Trait describing something that promises to be a 32-byte random number; in particular,