mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-20 01:08:55 +00:00
Update rust version and dependencies
This commit is contained in:
parent
e07949378c
commit
70aa43ab6b
4 changed files with 987 additions and 486 deletions
1467
Cargo.lock
generated
1467
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -1,2 +1,2 @@
|
|||
[toolchain]
|
||||
channel = "1.83.0"
|
||||
channel = "1.85.0"
|
||||
|
|
|
@ -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
Reference in a new issue