Explicitly depend on tokio 1.39 and enable io-util feature for tokio in teloxide-core

This commit is contained in:
Andrey Brusnik 2024-08-24 17:15:00 +04:00
parent 5d93b81ea0
commit ae20cf1f6b
No known key found for this signature in database
GPG key ID: D33232F28CFF442C
2 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@ full = ["throttle", "trace_adaptor", "erased", "cache_me"]
[dependencies]
futures = "0.3.5"
tokio = { version = "1.12.0", features = ["fs"] }
tokio = { version = "1.39", features = ["fs", "io-util"] }
tokio-util = { version = "0.7.0", features = ["codec"] }
pin-project = "1.0.12"
bytes = "1.0.0"

View file

@ -89,7 +89,7 @@ dptree = "0.3.0"
# Uncomment this if you want to test teloxide with a specific dptree commit
# dptree = { git = "https://github.com/teloxide/dptree", rev = "df578e4" }
tokio = { version = "1.8", features = ["fs"] }
tokio = { version = "1.39", features = ["fs"] }
tokio-util = "0.7"
tokio-stream = "0.1.8"
@ -123,7 +123,7 @@ rand = "0.8.3"
pretty_env_logger = "0.5.0"
serde = "1"
serde_json = "1"
tokio = { version = "1.8", features = ["fs", "rt-multi-thread", "macros"] }
tokio = { version = "1.39", features = ["fs", "rt-multi-thread", "macros"] }
reqwest = "0.12.7"
chrono = "0.4"
tokio-stream = "0.1"