Add missing feature gate for dispatching::repls import

This commit is contained in:
Tobias Bieniek 2022-11-17 10:09:19 +01:00
parent 2c52e2a1d4
commit ec4876db8d
No known key found for this signature in database
2 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## unreleased ## 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 ## 0.11.1 - 2022-10-31
### Added ### Added

View file

@ -60,6 +60,7 @@
#[cfg(feature = "ctrlc_handler")] #[cfg(feature = "ctrlc_handler")]
pub use dispatching::repls::{repl, repl_with_listener}; pub use dispatching::repls::{repl, repl_with_listener};
#[cfg(feature = "ctrlc_handler")]
#[allow(deprecated)] #[allow(deprecated)]
pub use dispatching::repls::{commands_repl, commands_repl_with_listener}; pub use dispatching::repls::{commands_repl, commands_repl_with_listener};