redis tokio feature

This commit is contained in:
Zynh0722 2024-02-09 05:20:25 -08:00
parent 2b534b51a3
commit 0a0e975176
2 changed files with 12 additions and 1 deletions

11
Cargo.lock generated
View file

@ -120,7 +120,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "35ed6e9d84f0b51a7f52daf1c7d71dd136fd7a3f41a8462b8cdb8c78d920fad4"
dependencies = [
"bytes",
"futures-core",
"memchr",
"pin-project-lite",
"tokio",
"tokio-util",
]
[[package]]
@ -259,6 +263,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
dependencies = [
"futures-core",
"futures-sink",
"futures-task",
"pin-project-lite",
"pin-utils",
@ -719,12 +724,18 @@ version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c580d9cbbe1d1b479e8d67cf9daf6a62c957e6846048408b80b43ac3f6af84cd"
dependencies = [
"async-trait",
"bytes",
"combine",
"futures-util",
"itoa",
"percent-encoding",
"pin-project-lite",
"ryu",
"sha1_smol",
"socket2 0.4.10",
"tokio",
"tokio-util",
"url",
]

View file

@ -8,7 +8,7 @@ edition = "2021"
[dependencies]
async-trait = "0.1.77"
dotenvy = "0.15.7"
redis = "0.24.0"
redis = { version = "0.24.0", features = ["tokio-comp"] }
reqwest = "0.11.24"
task-local-extensions = "0.1.4"
reqwest-middleware = { git = "https://git.zynh.me/Zynh0722/reqwest-middleware.git" }