mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-04 01:30:29 +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
1467
Cargo.lock
generated
1467
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
12
flake.lock
generated
12
flake.lock
generated
|
@ -20,11 +20,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1734424634,
|
||||
"narHash": "sha256-cHar1vqHOOyC7f1+tVycPoWTfKIaqkoe1Q6TnKzuti4=",
|
||||
"lastModified": 1743315132,
|
||||
"narHash": "sha256-6hl6L/tRnwubHcA4pfUUtk542wn2Om+D4UnDhlDW9BE=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d3c42f187194c26d9f0309a8ecc469d6c878ce33",
|
||||
"rev": "52faf482a3889b7619003c0daec593a1912fddc1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -48,11 +48,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734747996,
|
||||
"narHash": "sha256-0DUuObdcPITVOMMymq2y6YlM++QEWXZO3cTm6RGYgL8=",
|
||||
"lastModified": 1743475035,
|
||||
"narHash": "sha256-uLjVsb4Rxnp1zmFdPCDmdODd4RY6ETOeRj0IkC0ij/4=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "f9086701f5f3d36b8e5f4a3b9c93579ebc2581e6",
|
||||
"rev": "bee11c51c2cda3ac57c9e0149d94b86cc1b00d13",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -19,8 +19,10 @@ rustPlatform.buildRustPackage {
|
|||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"poise-0.6.1" = "sha256-44pPe02JJ97GEpzAXdQmDq/9bb4KS9G7ZFVlBRC6EYs=";
|
||||
"rosu-v2-0.9.0" = "sha256-dx0EwqqgkLaHwCPHyn5vMkhZ2NZcahH5SACFcsJKP1E=";
|
||||
"poise-0.6.1" = "sha256-iXyp9sR/vzPsexGPdRjfuKyFcGqvDdqiBAXnuw/HFo8=";
|
||||
"rosu-map-0.2.0" = "sha256-muCaRn/9qBxr2SJJ8F2HL9se4SLCL9ttI06tCoFfaNg=";
|
||||
"rosu-v2-0.10.0" = "sha256-44J/gnlsADel8+P3qjIIvA6Rdlt3D4F5hPwW7HEV2js=";
|
||||
"rosu-pp-2.0.0" = "sha256-1xQR6b7CFLaBECdbZcF5vflESCQjCtEiJNH7mmTkLl4=";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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