Skip to content

Commit d35340d

Browse files
Remove explicit list of modules in favor of *
We already re-export every module within `secp256k1` via `*`. There is no need to selectively re-export some of them as well. Remove the selected re-exports.
1 parent 4b5a8b4 commit d35340d

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/lib.rs

+1-8
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,10 @@ extern crate wasm_bindgen_test;
6363

6464
use core::{fmt, str};
6565

66-
pub use secp256k1::constants;
67-
pub use secp256k1::ecdh;
68-
pub use secp256k1::key;
69-
#[cfg(feature = "recovery")]
70-
pub use secp256k1::recovery;
71-
pub use secp256k1::schnorrsig;
66+
pub use secp256k1::*;
7267

7368
pub use key::{PublicKey, SecretKey};
7469

75-
pub use secp256k1::*;
76-
7770
#[cfg(feature = "serde")]
7871
mod serde_util;
7972
mod zkp;

0 commit comments

Comments
 (0)