Update rust version and dependencies

This commit is contained in:
t41y0u 2025-04-01 19:55:27 +07:00
parent e07949378c
commit 70aa43ab6b
No known key found for this signature in database
GPG key ID: 1C85F98024A8DB24
4 changed files with 987 additions and 486 deletions

1467
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "1.83.0"
channel = "1.85.0"

View file

@ -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"

View file

@ -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;