redis tokio feature

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

View File

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