mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-22 06:45:37 +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"
|
log = "0.4.8"
|
||||||
pretty_env_logger = "0.4.0"
|
pretty_env_logger = "0.4.0"
|
||||||
|
|
||||||
tokio = "0.2.11"
|
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
|
||||||
```
|
```
|
||||||
|
|
||||||
## API overview
|
## API overview
|
||||||
|
|
|
@ -8,9 +8,8 @@ edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
futures = "0.3.4"
|
|
||||||
tokio = "0.2.9"
|
|
||||||
pretty_env_logger = "0.4.0"
|
pretty_env_logger = "0.4.0"
|
||||||
|
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
|
||||||
teloxide = { path = "../../" }
|
teloxide = { path = "../../" }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
|
|
|
@ -8,16 +8,18 @@ edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
tokio = "0.2.9"
|
pretty_env_logger = "0.4.0"
|
||||||
|
|
||||||
frunk = "0.3.1"
|
frunk = "0.3.1"
|
||||||
frunk_core = "0.3.1"
|
frunk_core = "0.3.1"
|
||||||
|
|
||||||
pretty_env_logger = "0.4.0"
|
|
||||||
futures = "0.3.5"
|
futures = "0.3.5"
|
||||||
derive_more = "0.99.9"
|
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
|
||||||
|
|
||||||
teloxide = { path = "../../", features = ["frunk"] }
|
teloxide = { path = "../../", features = ["frunk"] }
|
||||||
teloxide-macros = "0.3.2"
|
teloxide-macros = "0.3.2"
|
||||||
|
|
||||||
|
derive_more = "0.99.9"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = true
|
lto = true
|
||||||
|
|
|
@ -8,8 +8,8 @@ edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
tokio = "0.2.9"
|
|
||||||
pretty_env_logger = "0.4.0"
|
pretty_env_logger = "0.4.0"
|
||||||
|
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
|
||||||
teloxide = { path = "../../" }
|
teloxide = { path = "../../" }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
|
|
|
@ -8,10 +8,9 @@ edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
futures = "0.3.4"
|
|
||||||
tokio = "0.2.9"
|
|
||||||
pretty_env_logger = "0.4.0"
|
pretty_env_logger = "0.4.0"
|
||||||
teloxide = { path = "../../" }
|
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
|
||||||
|
teloxide = { path = "../../" }
|
||||||
|
|
||||||
# Used to setup a webhook
|
# Used to setup a webhook
|
||||||
warp = "0.2.2"
|
warp = "0.2.2"
|
||||||
|
|
|
@ -8,10 +8,8 @@ edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
futures = "0.3.4"
|
|
||||||
tokio = "0.2.9"
|
|
||||||
pretty_env_logger = "0.4.0"
|
pretty_env_logger = "0.4.0"
|
||||||
|
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
|
||||||
teloxide = { path = "../../" }
|
teloxide = { path = "../../" }
|
||||||
|
|
||||||
# Used to setup a webhook
|
# Used to setup a webhook
|
||||||
|
|
|
@ -5,7 +5,9 @@ authors = ["Maximilian Siling <mouse-art@ya.ru>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[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
|
# You can also choose "cbor-serializer" or built-in JSON serializer
|
||||||
teloxide = { path = "../../", features = ["redis-storage", "bincode-serializer"] }
|
teloxide = { path = "../../", features = ["redis-storage", "bincode-serializer"] }
|
||||||
|
|
|
@ -8,7 +8,6 @@ edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
tokio = "0.2.9"
|
|
||||||
pretty_env_logger = "0.4.0"
|
pretty_env_logger = "0.4.0"
|
||||||
lazy_static = "1.4.0"
|
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
|
||||||
teloxide = { path = "../../" }
|
teloxide = { path = "../../" }
|
||||||
|
|
|
@ -8,7 +8,6 @@ edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
futures = "0.3.4"
|
|
||||||
tokio = "0.2.9"
|
|
||||||
pretty_env_logger = "0.4.0"
|
pretty_env_logger = "0.4.0"
|
||||||
|
tokio = { version = "0.2.11", features = ["rt-threaded", "macros"] }
|
||||||
teloxide = { path = "../../" }
|
teloxide = { path = "../../" }
|
||||||
|
|
Loading…
Add table
Reference in a new issue