diff --git a/crates/teloxide-core/src/types/parse_mode.rs b/crates/teloxide-core/src/types/parse_mode.rs index edd652fe..d5a07c31 100644 --- a/crates/teloxide-core/src/types/parse_mode.rs +++ b/crates/teloxide-core/src/types/parse_mode.rs @@ -145,8 +145,11 @@ pub enum ParseMode { MarkdownV2, #[serde(rename = "HTML")] Html, - #[deprecated = "This is a legacy mode, retained for backward compatibility. Use `MarkdownV2` \ - instead."] + #[deprecated( + since = "0.1.0", + note = "This is a legacy mode, retained for backward compatibility. Use `MarkdownV2` \ + instead." + )] Markdown, } diff --git a/crates/teloxide/src/prelude.rs b/crates/teloxide/src/prelude.rs index 78db754b..b9c4aba4 100644 --- a/crates/teloxide/src/prelude.rs +++ b/crates/teloxide/src/prelude.rs @@ -2,7 +2,6 @@ pub use crate::error_handlers::{LoggingErrorHandler, OnError}; -#[allow(deprecated)] pub use crate::respond; pub use crate::dispatching::{