diff --git a/CHANGELOG.md b/CHANGELOG.md index b21fafd..e66369f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.14.0 (2022-05-09) + + * Optimize Update struct by migrating its content to enum - [#62](https://github.com/ayrat555/frankenstein/pull/62) + ## 0.13.0 (2022-04-18) ### [Bot API 6.0](https://core.telegram.org/bots/api#april-16-2022) - [#58](https://github.com/ayrat555/frankenstein/pull/58), [#59](https://github.com/ayrat555/frankenstein/pull/59) diff --git a/Cargo.toml b/Cargo.toml index 50893a2..b544ab7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "frankenstein" -version = "0.13.0" +version = "0.14.0" authors = ["Ayrat Badykov "] description = "Telegram bot API client for Rust" edition = "2018" diff --git a/README.md b/README.md index 44d8175..cc99124 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Add this to your Cargo.toml ```toml [dependencies] -frankenstein = "0.13" +frankenstein = "0.14" ``` ## Features @@ -35,13 +35,13 @@ frankenstein = "0.13" To use the async client add the following line to your `Cargo.toml` file: ```toml -frankenstein = { version = "0.13", default-features = false, features = ["async-http-client"] } +frankenstein = { version = "0.14", default-features = false, features = ["async-http-client"] } ``` You can also disable all features: ```toml -frankenstein = { version = "0.13", default-features = false } +frankenstein = { version = "0.14", default-features = false } ``` In this case the crate will ship only with telegram types @@ -159,7 +159,7 @@ It has two variants: ### Documentation -Frankenstein implements all telegram bot api methods. To see which parameters you should pass, check [docs.rs](https://docs.rs/frankenstein/0.13.0/frankenstein/api_traits/telegram_api/trait.TelegramApi.html#provided-methods) +Frankenstein implements all telegram bot api methods. To see which parameters you should pass, check [docs.rs](https://docs.rs/frankenstein/0.14.0/frankenstein/api_traits/telegram_api/trait.TelegramApi.html#provided-methods) You can check out a real world bot created using this library - [El Monitorro](https://github.com/ayrat555/el_monitorro). El Monitorro is a feed reader bot. @@ -171,7 +171,7 @@ The library uses `ureq` http client by default, but it can be easily replaced wi 1. `ureq` comes with a default feature (`impl`). So the feature should be disabled: ```toml -frankenstein = { version = "0.13", default-features = false, features = ["telegram-trait"] } +frankenstein = { version = "0.14", default-features = false, features = ["telegram-trait"] } ``` 2. Implement `TelegramApi` trait which requires two functions: