diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e84df63..bdcb738d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## unreleased +### Fixed + +- Add missing feature gate for `dispatching::repls` import ([issue #770](https://github.com/teloxide/teloxide/issues/770)): + ## 0.11.1 - 2022-10-31 ### Added diff --git a/src/lib.rs b/src/lib.rs index 04012a60..f1e835e0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -60,6 +60,7 @@ #[cfg(feature = "ctrlc_handler")] pub use dispatching::repls::{repl, repl_with_listener}; +#[cfg(feature = "ctrlc_handler")] #[allow(deprecated)] pub use dispatching::repls::{commands_repl, commands_repl_with_listener};