From ce461b8d02aedac378a9bea31b1ee5585056d1cd Mon Sep 17 00:00:00 2001 From: Milap Sheth Date: Fri, 5 Jul 2024 19:24:44 -0400 Subject: [PATCH] expose types via api --- src/sdk/api.rs | 4 ++++ src/sdk/mod.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sdk/api.rs b/src/sdk/api.rs index 17605d34..e693cac8 100644 --- a/src/sdk/api.rs +++ b/src/sdk/api.rs @@ -8,3 +8,7 @@ pub struct TofnFatal; /// Expose tofn's (de)serialization functions /// that use the appropriate bincode config options. pub use super::wire_bytes::{deserialize, serialize}; + +pub use super::key::SecretRecoveryKey; + +pub use crate::crypto_tools::message_digest::MessageDigest; diff --git a/src/sdk/mod.rs b/src/sdk/mod.rs index ec1c3b88..6eb3533c 100644 --- a/src/sdk/mod.rs +++ b/src/sdk/mod.rs @@ -1,5 +1,5 @@ pub mod api; -pub mod key; +pub(crate) mod key; pub(crate) mod wire_bytes;