expose key::{Secret, Public}Key in the crate root for ease of use

This commit is contained in:
Andrew Poelstra 2018-01-17 15:38:11 +00:00
parent 06137aefda
commit f14e747431
1 changed files with 3 additions and 0 deletions

View File

@ -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);