Prepare for v0.5.2

This commit is contained in:
Hirrolot 2021-08-25 23:51:19 +06:00
parent f883f7325c
commit 2a6067fe94
3 changed files with 5 additions and 3 deletions

View file

@ -6,9 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [unreleased] ## [unreleased]
## [0.5.2] - 2021-08-25
### Fixed ### Fixed
- Depend on a right `futures` version - Depend on a correct `futures` version (v0.3.15).
## [0.5.1] - 2021-08-05 ## [0.5.1] - 2021-08-05

View file

@ -1,6 +1,6 @@
[package] [package]
name = "teloxide" name = "teloxide"
version = "0.5.1" version = "0.5.2"
edition = "2018" edition = "2018"
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"

View file

@ -34,7 +34,7 @@ async fn run() {
// While constructing them from the struct itself is possible, it is preferred to use // While constructing them from the struct itself is possible, it is preferred to use
// the builder pattern if you wish to add more information to your result. // the builder pattern if you wish to add more information to your result.
// Please refer to the documentation for more detailed information about each field. // Please refer to the documentation for more detailed information about each field.
// https://docs.rs/teloxide/0.5.1/teloxide/types/struct.InlineQueryResultArticle.html // https://docs.rs/teloxide/latest/teloxide/types/struct.InlineQueryResultArticle.html
let ddg_search = InlineQueryResultArticle::new( let ddg_search = InlineQueryResultArticle::new(
"02".to_string(), "02".to_string(),
"DuckDuckGo Search".to_string(), "DuckDuckGo Search".to_string(),