Skip to content

Commit

Permalink
Remove wildcard re-exports of key types
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tcharding committed Mar 19, 2024
1 parent 2403a7c commit 8384783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8384783

Please sign in to comment.