From fbd77f40ed11bb0f1a0b3c63eed240bebc923022 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Sun, 14 Jul 2024 20:51:28 +0300 Subject: [PATCH] update version in readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 868c9a8..e8457d6 100644 --- a/README.md +++ b/README.md @@ -34,13 +34,13 @@ frankenstein = "0.32" To use the async client add the following line to your `Cargo.toml` file: ```toml -frankenstein = { version = "0.30", default-features = false, features = ["async-http-client"] } +frankenstein = { version = "0.32", default-features = false, features = ["async-http-client"] } ``` You can also disable all features. In this case the crate will ship only with Telegram types. ```toml -frankenstein = { version = "0.30", default-features = false } +frankenstein = { version = "0.32", default-features = false } ``` ## Usage @@ -204,7 +204,7 @@ The library uses `ureq` HTTP client by default, but it can be easily replaced wi `ureq` comes with a default feature (`impl`). So the feature should be disabled. ```toml -frankenstein = { version = "0.30", default-features = false, features = ["telegram-trait"] } +frankenstein = { version = "0.32", default-features = false, features = ["telegram-trait"] } ``` Then implement the `TelegramApi` trait for your HTTP client which requires two functions: