mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 09:49:07 +01:00
Merge pull request #771 from Turbo87/fix-feature-gate
Add missing feature gate for `dispatching::repls` import
This commit is contained in:
commit
c1c71c5b9c
6 changed files with 14 additions and 5 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -6,7 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## unreleased
|
## unreleased
|
||||||
|
|
||||||
## 0.11.1 - 2022-10-31
|
## 0.11.2 - 2022-11-18
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Add missing feature gate for `dispatching::repls` import ([issue #770](https://github.com/teloxide/teloxide/issues/770))
|
||||||
|
|
||||||
|
## 0.11.1 - 2022-10-31 [yanked]
|
||||||
|
|
||||||
|
This release was yanked because it accidentally [breaks backwards compatibility](https://github.com/teloxide/teloxide/issues/770).
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "teloxide"
|
name = "teloxide"
|
||||||
version = "0.11.1"
|
version = "0.11.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "An elegant Telegram bots framework for Rust"
|
description = "An elegant Telegram bots framework for Rust"
|
||||||
repository = "https://github.com/teloxide/teloxide"
|
repository = "https://github.com/teloxide/teloxide"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
This document describes breaking changes of `teloxide` crate, as well as the ways to update code.
|
This document describes breaking changes of `teloxide` crate, as well as the ways to update code.
|
||||||
Note that the list of required changes is not fully exhaustive and it may lack something in rare cases.
|
Note that the list of required changes is not fully exhaustive and it may lack something in rare cases.
|
||||||
|
|
||||||
## 0.11 -> 0.11.1
|
## 0.11 -> 0.11.2
|
||||||
|
|
||||||
### teloxide
|
### teloxide
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
> [v0.11 -> v0.11.1 migration guide >>](MIGRATION_GUIDE.md#011---0111)
|
> [v0.11 -> v0.11.2 migration guide >>](MIGRATION_GUIDE.md#011---0112)
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<img src="./ICON.png" width="250"/>
|
<img src="./ICON.png" width="250"/>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
//! An update dispatching model based on [`dptree`].
|
//! An update dispatching model based on [`dptree`].
|
||||||
//!
|
//!
|
||||||
//! In teloxide, update dispatching is declarative: it takes the form of a
|
//! In `teloxide`, update dispatching is declarative: it takes the form of a
|
||||||
//! [chain of responsibility] pattern enriched with a number of combinator
|
//! [chain of responsibility] pattern enriched with a number of combinator
|
||||||
//! functions, which together form an instance of the [`dptree::Handler`] type.
|
//! functions, which together form an instance of the [`dptree::Handler`] type.
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -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};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue