Fill-in deprecation version, remove useless allow

This commit is contained in:
Maybe Waffle 2024-02-13 22:15:36 +01:00
parent 6e176113cd
commit 74b03664cf
2 changed files with 5 additions and 3 deletions

View file

@ -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,
}

View file

@ -2,7 +2,6 @@
pub use crate::error_handlers::{LoggingErrorHandler, OnError};
#[allow(deprecated)]
pub use crate::respond;
pub use crate::dispatching::{