about summary refs log tree commit diff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2021-05-05 22:40:01 +0300
committerVika <vika@fireburn.ru>2021-05-05 22:40:01 +0300
commitcbbfca9af1f0aa9da87709f99353fd76fd6617a8 (patch)
tree232f4bfc8682255195dc1a2278e2830db21dd7bb /Cargo.lock
parentdd9d3ff3e9505926e72df7df679cefe960be23bd (diff)
Added rudimentary caching to IndieAuth middleware
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock24
1 files changed, 24 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 87d7ce7..9b165db 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -296,6 +296,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0"
 
 [[package]]
+name = "async-timer"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ba5fa6ed76cb2aa820707b4eb9ec46f42da9ce70b0eafab5e5e34942b38a44d5"
+dependencies = [
+ "libc",
+ "wasm-bindgen",
+ "winapi",
+]
+
+[[package]]
 name = "async-trait"
 version = "0.1.50"
 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1223,6 +1234,7 @@ dependencies = [
  "mobc-redis",
  "mockito",
  "newbase60",
+ "retainer",
  "serde",
  "serde_json",
  "serde_urlencoded",
@@ -1846,6 +1858,18 @@ dependencies = [
 ]
 
 [[package]]
+name = "retainer"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "59039dbf4a344af919780e9acdf7f9ce95deffb0152a72eca94b89d6a2bf66c0"
+dependencies = [
+ "async-lock",
+ "async-timer",
+ "log",
+ "rand 0.8.3",
+]
+
+[[package]]
 name = "route-recognizer"
 version = "0.2.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"