parent
efe5cca9bb
commit
b85cda505f
2 changed files with 6 additions and 0 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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<
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue