From f0b6e08e14b73ed147541010513a83945672b0da Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Sun, 9 Jun 2024 07:51:29 +0300 Subject: [PATCH] reexport other grammers crates from grammers-client So that users of the library don't have to add all these dependencies manually, matching all the versions. --- lib/grammers-client/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/grammers-client/src/lib.rs b/lib/grammers-client/src/lib.rs index 483192b2..eb077b7f 100644 --- a/lib/grammers-client/src/lib.rs +++ b/lib/grammers-client/src/lib.rs @@ -46,3 +46,9 @@ pub(crate) mod utils; pub use client::{Client, Config, InitParams, SignInError}; pub use types::{button, reply_markup, ChatMap, InputMessage, Update}; + +pub use grammers_mtproto::transport; +pub use grammers_mtsender::{FixedReconnect, InvocationError, NoReconnect, ReconnectionPolicy}; +pub use grammers_session as session; +#[cfg(feature = "unstable_raw")] +pub use grammers_tl_types;