mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-25 09:40:49 +00:00
Dependencies update
This commit is contained in:
parent
24751146c3
commit
8e15aa5f22
4 changed files with 362 additions and 272 deletions
|
@ -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"
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue