Dependencies update

This commit is contained in:
Natsu Kagami 2022-10-16 17:45:47 +02:00
parent 24751146c3
commit 8e15aa5f22
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
4 changed files with 362 additions and 272 deletions

600
Cargo.lock generated

File diff suppressed because it is too large Load diff

24
flake.lock generated
View file

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1648297722, "lastModified": 1659877975,
"narHash": "sha256-W+qlPsiZd8F3XkzXOzAoR+mpFqzm3ekQkJNa+PIh1BQ=", "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "0f8662f1319ad6abf89b3380dd2722369fc51ade", "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,11 +22,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1648544490, "lastModified": 1662220400,
"narHash": "sha256-EoBDcccV70tfz2LAs5lK0BjC7en5mzUVlgLsd5E6DW4=", "narHash": "sha256-9o2OGQqu4xyLZP9K6kNe1pTHnyPz0Wr3raGYnr9AIgY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "naersk", "repo": "naersk",
"rev": "e30ef9a5ce9b3de8bb438f15829c50f9525ca730", "rev": "6944160c19cb591eb85bbf9b2f2768a935623ed3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -37,11 +37,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1654936503, "lastModified": 1665856284,
"narHash": "sha256-soKzdhI4jTHv/rSbh89RdlcJmrPgH8oMb/PLqiqIYVQ=", "narHash": "sha256-FQusb2DuFo8UF0jhUSPFhDKc40jRbHcdyyw4anN20WA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "dab6df51387c3878cdea09f43589a15729cae9f4", "rev": "be44bf672c61a284f759898d1e59077b00655c4c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -53,11 +53,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1651773324, "lastModified": 1665934222,
"narHash": "sha256-+tzXzgZQMCxacRmEDRjdbYulorD40BI+YK6aWBwgCcM=", "narHash": "sha256-EIPSpN/LMWcKO56KnCF9xJzIOeNU5bJ83ziSgd8I54Y=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a1439bc96590dae913369f4515ca3df6ca1a1556", "rev": "1087d09dfbf82e086a54390b09b353365aaf8658",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -15,7 +15,7 @@ lazy_static = "1.4.0"
osuparse = { git = "https://github.com/eltrufas/osuparse", rev = "ad8f6e5e7771e7cbaa2ec96c376558f9731139af" } osuparse = { git = "https://github.com/eltrufas/osuparse", rev = "ad8f6e5e7771e7cbaa2ec96c376558f9731139af" }
regex = "1.5.6" regex = "1.5.6"
reqwest = "0.11.10" reqwest = "0.11.10"
rosu-pp = "0.5.1" rosu-pp = { git = "https://github.com/MaxOhn/rosu-pp", branch = "next" }
serde = { version = "1.0.137", features = ["derive"] } serde = { version = "1.0.137", features = ["derive"] }
serenity = "0.11.2" serenity = "0.11.2"
zip = "0.6.2" zip = "0.6.2"

View file

@ -283,10 +283,10 @@ impl From<u8> for Mode {
impl From<Mode> for GameMode { impl From<Mode> for GameMode {
fn from(n: Mode) -> Self { fn from(n: Mode) -> Self {
match n { match n {
Mode::Std => GameMode::STD, Mode::Std => GameMode::Osu,
Mode::Taiko => GameMode::TKO, Mode::Taiko => GameMode::Taiko,
Mode::Catch => GameMode::CTB, Mode::Catch => GameMode::Catch,
Mode::Mania => GameMode::MNA, Mode::Mania => GameMode::Mania,
} }
} }
} }