Fix Cargo.toml files in the examples

This commit is contained in:
Temirkhan Myrzamadi 2020-07-31 21:43:28 +06:00
parent 6bb8482f3d
commit 09d3db9f9b
9 changed files with 17 additions and 19 deletions

View file

@ -82,7 +82,7 @@ teloxide-macros = "0.3.2"
log = "0.4.8"
pretty_env_logger = "0.4.0"
tokio = "0.2.11"
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
```
## API overview

View file

@ -8,9 +8,8 @@ edition = "2018"
[dependencies]
log = "0.4.8"
futures = "0.3.4"
tokio = "0.2.9"
pretty_env_logger = "0.4.0"
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
teloxide = { path = "../../" }
[profile.release]

View file

@ -8,16 +8,18 @@ edition = "2018"
[dependencies]
log = "0.4.8"
tokio = "0.2.9"
pretty_env_logger = "0.4.0"
frunk = "0.3.1"
frunk_core = "0.3.1"
pretty_env_logger = "0.4.0"
futures = "0.3.5"
derive_more = "0.99.9"
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
teloxide = { path = "../../", features = ["frunk"] }
teloxide-macros = "0.3.2"
derive_more = "0.99.9"
[profile.release]
lto = true

View file

@ -8,8 +8,8 @@ edition = "2018"
[dependencies]
log = "0.4.8"
tokio = "0.2.9"
pretty_env_logger = "0.4.0"
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
teloxide = { path = "../../" }
[profile.release]

View file

@ -8,9 +8,8 @@ edition = "2018"
[dependencies]
log = "0.4.8"
futures = "0.3.4"
tokio = "0.2.9"
pretty_env_logger = "0.4.0"
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
teloxide = { path = "../../" }
# Used to setup a webhook

View file

@ -8,10 +8,8 @@ edition = "2018"
[dependencies]
log = "0.4.8"
futures = "0.3.4"
tokio = "0.2.9"
pretty_env_logger = "0.4.0"
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
teloxide = { path = "../../" }
# Used to setup a webhook

View file

@ -5,7 +5,9 @@ authors = ["Maximilian Siling <mouse-art@ya.ru>"]
edition = "2018"
[dependencies]
tokio = "0.2.9"
log = "0.4.8"
pretty_env_logger = "0.4.0"
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
# You can also choose "cbor-serializer" or built-in JSON serializer
teloxide = { path = "../../", features = ["redis-storage", "bincode-serializer"] }

View file

@ -8,7 +8,6 @@ edition = "2018"
[dependencies]
log = "0.4.8"
tokio = "0.2.9"
pretty_env_logger = "0.4.0"
lazy_static = "1.4.0"
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
teloxide = { path = "../../" }

View file

@ -8,7 +8,6 @@ edition = "2018"
[dependencies]
log = "0.4.8"
futures = "0.3.4"
tokio = "0.2.9"
pretty_env_logger = "0.4.0"
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
teloxide = { path = "../../" }