Skip to content

Commit

Permalink
release 0.27.0 (#113)
Browse files Browse the repository at this point in the history
* release 0.27.0

* update cargo.toml
  • Loading branch information
ayrat555 authored Aug 21, 2023
1 parent a107b53 commit b08864e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.27.0 (2023-08-21)

### [Bot API 6.8](https://core.telegram.org/bots/api#august-18-2023) - [#112](https://github.com/ayrat555/frankenstein/pull/112)

## 0.26.0 (2023-06-16)

* Rename `File` enum into `FileUpload` - [#109](https://github.com/ayrat555/frankenstein/pull/109)
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "frankenstein"
version = "0.26.0"
authors = ["Ayrat Badykov <[email protected]>"]
version = "0.27.0"
authors = ["Ayrat Badykov <[email protected]>", "Pepe Márquez <[email protected]>"]
description = "Telegram bot API client for Rust"
edition = "2018"
license = "WTFPL"
Expand Down Expand Up @@ -59,7 +59,7 @@ async-telegram-trait = ["async-trait"]

[dependencies]
thiserror = "1"
typed-builder = "0.14"
typed-builder = "0.15"

[dependencies.async-trait]
version = "0.1"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Add this to your Cargo.toml

```toml
[dependencies]
frankenstein = "0.26"
frankenstein = "0.27"
```

## Features
Expand All @@ -35,13 +35,13 @@ frankenstein = "0.26"
To use the async client add the following line to your `Cargo.toml` file:

```toml
frankenstein = { version = "0.26", default-features = false, features = ["async-http-client"] }
frankenstein = { version = "0.27", default-features = false, features = ["async-http-client"] }
```

You can also disable all features:

```toml
frankenstein = { version = "0.26", default-features = false }
frankenstein = { version = "0.27", default-features = false }
```

In this case the crate will ship only with telegram types
Expand Down Expand Up @@ -195,7 +195,7 @@ AsyncApi::builder().api_url(api_url).client(client).build()

### Documentation

Frankenstein implements all telegram bot api methods. To see which parameters you should pass, check [docs.rs](https://docs.rs/frankenstein/0.26.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.27.0/frankenstein/api_traits/telegram_api/trait.TelegramApi.html#provided-methods)

You can check out real-world bots created using this library:

Expand All @@ -212,7 +212,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.26", default-features = false, features = ["telegram-trait"] }
frankenstein = { version = "0.27", default-features = false, features = ["telegram-trait"] }
```

2. Implement `TelegramApi` trait which requires two functions:
Expand Down

0 comments on commit b08864e

Please sign in to comment.