exports
Some checks failed
CI / checks (push) Failing after 2m17s

This commit is contained in:
Alex Emmet 2026-07-03 16:56:34 +02:00
commit b85cda505f
2 changed files with 6 additions and 0 deletions

View file

@ -4,6 +4,9 @@ use mtp_transport::{Policy, Receiver, Sender};
#[cfg(feature = "crypto")] #[cfg(feature = "crypto")]
use tokio::time::Duration; use tokio::time::Duration;
pub use MTPClient as Client;
pub use MTPConnection as Connection;
#[cfg(feature = "crypto")] #[cfg(feature = "crypto")]
fn unexpected_response_type_error( fn unexpected_response_type_error(
context: &str, context: &str,

View file

@ -11,6 +11,9 @@ use std::{error::Error, fmt};
#[cfg(feature = "crypto")] #[cfg(feature = "crypto")]
use tokio::time::Duration; use tokio::time::Duration;
pub use MTPConnection as Connection;
pub use MTPHost as Host;
/* ---- async callback type aliases ---- */ /* ---- async callback type aliases ---- */
#[cfg(feature = "crypto")] #[cfg(feature = "crypto")]
pub type GetExistingUser = Box< pub type GetExistingUser = Box<