mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-18 15:20:15 +01:00
Fix Cargo.toml files in the examples
This commit is contained in:
parent
6bb8482f3d
commit
09d3db9f9b
9 changed files with 17 additions and 19 deletions
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"] }
|
||||
|
|
|
@ -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 = "../../" }
|
|
@ -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 = "../../" }
|
||||
|
|
Loading…
Reference in a new issue