mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-25 17:40:52 +00:00
Implement lazy score queries for top
, recent
and check
(#71)
* Use streams and such to have 200 results * WIP * display should take a lazy score future * Introduce a Scores stream so we can lazily load top score requests * Fit range to len * Remove debugging * Simplify from_user with `and_then`
This commit is contained in:
parent
8fdd576eb9
commit
87e0a02e1f
13 changed files with 482 additions and 200 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -746,6 +746,7 @@ checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
|
|||
dependencies = [
|
||||
"futures-channel",
|
||||
"futures-core",
|
||||
"futures-executor",
|
||||
"futures-io",
|
||||
"futures-sink",
|
||||
"futures-task",
|
||||
|
@ -3905,6 +3906,7 @@ dependencies = [
|
|||
"bitflags 1.3.2",
|
||||
"chrono",
|
||||
"dashmap 5.5.3",
|
||||
"futures",
|
||||
"futures-util",
|
||||
"lazy_static",
|
||||
"poise",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue