Skip to content
Snippets Groups Projects
Commit bcd6e49a authored by Dan Notestein's avatar Dan Notestein
Browse files

Switch to using moka to deduplicate calls

rephrase
parent 3b497f70
No related branches found
No related tags found
1 merge request!1New caching system plus various other fixes
......@@ -274,6 +274,15 @@ dependencies = [
"libc",
]
[[package]]
name = "async-lock"
version = "2.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b"
dependencies = [
"event-listener",
]
[[package]]
name = "async-recursion"
version = "1.0.5"
......@@ -693,6 +702,12 @@ dependencies = [
"version_check",
]
[[package]]
name = "event-listener"
version = "2.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
[[package]]
name = "fastrand"
version = "2.0.1"
......@@ -1164,9 +1179,12 @@ version = "0.12.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1911e88d5831f748a4097a43862d129e3c6fca831eecac9b8db6d01d93c9de2"
dependencies = [
"async-lock",
"async-trait",
"crossbeam-channel",
"crossbeam-epoch",
"crossbeam-utils",
"futures-util",
"once_cell",
"parking_lot",
"quanta",
......
......@@ -18,7 +18,7 @@ humantime = "2.1.0"
config = "0.13.3"
actix-cors = "0.6.4"
async-recursion = "1.0.5"
moka = { version = "0.12.5", features = ["sync"] }
moka = { version = "0.12.5", features = ["future"] }
sequence_trie = "0.3.6"
futures-util = "0.3.30"
chrono = "0.4.34"
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment