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

View file

@ -15,7 +15,7 @@ lazy_static = "1.4.0"
osuparse = { git = "https://github.com/eltrufas/osuparse", rev = "ad8f6e5e7771e7cbaa2ec96c376558f9731139af" }
regex = "1.5.6"
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"] }
serenity = "0.11.2"
zip = "0.6.2"

View file

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