From f14e7474315030e92b3f1b6f442c12a6d1b5403d Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Wed, 17 Jan 2018 15:38:11 +0000 Subject: [PATCH] expose key::{Secret, Public}Key in the crate root for ease of use --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 1bdd9f2..42ab02f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -57,6 +57,9 @@ pub mod ffi; pub mod key; pub mod schnorr; +pub use key::SecretKey; +pub use key::PublicKey; + /// A tag used for recovering the public key from a compact signature #[derive(Copy, Clone, PartialEq, Eq, Debug)] pub struct RecoveryId(i32);