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
|
@ -26,7 +26,8 @@ serenity = "0.12"
|
|||
poise = { git = "https://github.com/serenity-rs/poise", branch = "current" }
|
||||
zip = "0.6.2"
|
||||
rand = "0.8"
|
||||
futures-util = "0.3.30"
|
||||
futures = "0.3"
|
||||
futures-util = "0.3"
|
||||
thiserror = "2"
|
||||
|
||||
youmubot-db = { path = "../youmubot-db" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue