Move UpState to utils

This commit is contained in:
Temirkhan Myrzamadi 2020-07-28 23:48:46 +06:00
parent 2685123316
commit a5707fd713
4 changed files with 5 additions and 2 deletions

View file

@ -29,7 +29,6 @@ mod logging;
pub mod prelude;
pub mod requests;
pub mod types;
mod up_state;
pub mod utils;
extern crate teloxide_macros;

View file

@ -15,7 +15,7 @@ pub use crate::{
};
#[cfg(feature = "frunk")]
pub use crate::up_state::UpState;
pub use crate::utils::UpState;
pub use tokio::sync::mpsc::UnboundedReceiver;

View file

@ -4,5 +4,9 @@ mod client_from_env;
pub mod command;
pub mod html;
pub mod markdown;
mod up_state;
pub use client_from_env::client_from_env;
#[cfg(feature = "frunk")]
pub use up_state::UpState;