mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 09:49:07 +01:00
Add back old module paths, but deprecate then
This commit is contained in:
parent
b680c087c5
commit
dccd3ce4c7
2 changed files with 24 additions and 0 deletions
|
@ -217,6 +217,22 @@
|
|||
|
||||
pub mod dialogue;
|
||||
|
||||
/// This module was moved to [`teloxide::update_listeners`].
|
||||
///
|
||||
/// [`teloxide::update_listeners`]: crate::update_listeners
|
||||
#[deprecated]
|
||||
pub mod update_listeners {
|
||||
pub use crate::update_listeners::*;
|
||||
}
|
||||
|
||||
/// This module was moved to [`teloxide::repls`].
|
||||
///
|
||||
/// [`teloxide::repls`]: crate::repls
|
||||
#[deprecated]
|
||||
pub mod repls {
|
||||
pub use crate::repls::*;
|
||||
}
|
||||
|
||||
mod dispatcher;
|
||||
mod distribution;
|
||||
mod filter_ext;
|
||||
|
|
|
@ -93,6 +93,14 @@
|
|||
//!
|
||||
//! [`examples/dialogue.rs`]: https://github.com/teloxide/teloxide/blob/master/examples/dialogue.rs
|
||||
|
||||
/// This module was moved to [`teloxide::storage`].
|
||||
///
|
||||
/// [`teloxide::storage`]: crate::storage
|
||||
#[deprecated]
|
||||
pub mod storage {
|
||||
pub use crate::storage::*;
|
||||
}
|
||||
|
||||
pub use crate::storage::*;
|
||||
pub use get_chat_id::GetChatId;
|
||||
|
||||
|
|
Loading…
Reference in a new issue