mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-23 16:50:49 +00:00
Update dependencies (#67)
Some checks are pending
Some checks are pending
* Update rust version and dependencies * Update nix Rust dependencies hash outputs * Update nixpkgs and friends --------- Co-authored-by: Natsu Kagami <nki@nkagami.me>
This commit is contained in:
parent
e07949378c
commit
1ecbb5d0f5
6 changed files with 997 additions and 494 deletions
|
@ -17,7 +17,7 @@ dashmap = "5.3.4"
|
|||
lazy_static = "1.4.0"
|
||||
regex = "1.5.6"
|
||||
reqwest = "0.11.10"
|
||||
rosu-pp = "2.0.0"
|
||||
rosu-pp = { git = "https://github.com/MaxOhn/rosu-pp", branch = "pp-update" }
|
||||
rosu-v2 = { git = "https://github.com/MaxOhn/rosu-v2", branch = "lazer" }
|
||||
rosu-map = "0.1"
|
||||
time = "0.3"
|
||||
|
|
|
@ -113,7 +113,7 @@ impl From<rosu::score::Score> for Score {
|
|||
fn from(s: rosu::score::Score) -> Self {
|
||||
let legacy_stats = s.statistics.as_legacy(s.mode);
|
||||
let score = if s.set_on_lazer {
|
||||
s.score
|
||||
s.score as u64
|
||||
} else {
|
||||
s.classic_score
|
||||
} as u64;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue