From b85cda505f640d343e3b0c0947a9fa0707fd5404 Mon Sep 17 00:00:00 2001 From: Alex Emmet <111742636+Alex-Emmet@users.noreply.github.com> Date: Fri, 3 Jul 2026 16:56:34 +0200 Subject: [PATCH] exports --- client/src/lib.rs | 3 +++ host/src/lib.rs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/client/src/lib.rs b/client/src/lib.rs index 223ea9f..a26f466 100644 --- a/client/src/lib.rs +++ b/client/src/lib.rs @@ -4,6 +4,9 @@ use mtp_transport::{Policy, Receiver, Sender}; #[cfg(feature = "crypto")] use tokio::time::Duration; +pub use MTPClient as Client; +pub use MTPConnection as Connection; + #[cfg(feature = "crypto")] fn unexpected_response_type_error( context: &str, diff --git a/host/src/lib.rs b/host/src/lib.rs index 89cae77..c285894 100644 --- a/host/src/lib.rs +++ b/host/src/lib.rs @@ -11,6 +11,9 @@ use std::{error::Error, fmt}; #[cfg(feature = "crypto")] use tokio::time::Duration; +pub use MTPConnection as Connection; +pub use MTPHost as Host; + /* ---- async callback type aliases ---- */ #[cfg(feature = "crypto")] pub type GetExistingUser = Box<