diff --git a/CHANGELOG.md b/CHANGELOG.md index 596a52e5..4ff64b8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## unreleased +- Add another missing feature gate for `dispatching::repls` import ([issue #770](https://github.com/teloxide/teloxide/issues/770)) + ## 0.11.2 - 2022-11-18 ### Fixed diff --git a/src/prelude.rs b/src/prelude.rs index ca6afa90..27336320 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -6,10 +6,12 @@ pub use crate::error_handlers::{LoggingErrorHandler, OnError}; pub use crate::respond; pub use crate::dispatching::{ - dialogue::Dialogue, repls::CommandReplExt as _, Dispatcher, HandlerExt as _, - MessageFilterExt as _, UpdateFilterExt as _, + dialogue::Dialogue, Dispatcher, HandlerExt as _, MessageFilterExt as _, UpdateFilterExt as _, }; +#[cfg(feature = "ctrlc_handler")] +pub use crate::dispatching::repls::CommandReplExt as _; + pub use teloxide_core::{ requests::ResponseResult, types::{