Skip to content

Commit

Permalink
reexport other grammers crates from grammers-client
Browse files Browse the repository at this point in the history
So that users of the library don't have to add all these dependencies
manually, matching all the versions.
  • Loading branch information
MaxVerevkin committed Jun 9, 2024
1 parent 2d5722c commit f0b6e08
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/grammers-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit f0b6e08

Please sign in to comment.