bumped rosu-pp to v0.7.0

This commit is contained in:
MaxOhn
2022-07-06 19:22:26 +02:00
parent 3975be4fb2
commit 74019c0b12
4 changed files with 10 additions and 9 deletions
+1
View File
@@ -1,5 +1,6 @@
## Upcoming ## Upcoming
- Removed the `GameMode` class again; use simple numbers instead (0/1/2/3) - Removed the `GameMode` class again; use simple numbers instead (0/1/2/3)
- Updated to [rosu-pp v0.7](https://github.com/MaxOhn/rosu-pp/blob/main/CHANGELOG.md#v070-2022-07-06)
# v0.6.0 (2022-07-05) # v0.6.0 (2022-07-05)
- Updated to [PyO3 v0.16](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md#0165---2022-05-15) from v0.15 - Updated to [PyO3 v0.16](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md#0165---2022-05-15) from v0.15
Generated
+3 -3
View File
@@ -170,13 +170,13 @@ dependencies = [
[[package]] [[package]]
name = "rosu-pp" name = "rosu-pp"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "92439367271f2657f29f9e2bd1dc08d413a7d820139840001fe57a1b21500bfb" checksum = "afb381d9965cf871a10004eb4dca826ddc69bfabf86158485cc505bed51c696e"
[[package]] [[package]]
name = "rosu-pp-py" name = "rosu-pp-py"
version = "0.6.0" version = "0.7.0"
dependencies = [ dependencies = [
"pyo3", "pyo3",
"rosu-pp", "rosu-pp",
+2 -2
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "rosu-pp-py" name = "rosu-pp-py"
version = "0.6.0" version = "0.7.0"
description = "osu! difficulty and pp calculation for all modes" description = "osu! difficulty and pp calculation for all modes"
authors = ["Max Ohn <ohn.m@hotmail.de>"] authors = ["Max Ohn <ohn.m@hotmail.de>"]
license = "MIT" license = "MIT"
@@ -12,7 +12,7 @@ crate-type = ["cdylib"]
[dependencies] [dependencies]
pyo3 = { version = "0.16", features = ["macros", "extension-module"] } pyo3 = { version = "0.16", features = ["macros", "extension-module"] }
rosu-pp = { version = "0.6" } rosu-pp = { version = "0.7" }
[profile.release] [profile.release]
lto = "fat" lto = "fat"
+4 -4
View File
@@ -404,10 +404,10 @@ impl ScoreParams {
if let Some(mode @ 0..=3) = mode { if let Some(mode @ 0..=3) = mode {
let mode = match mode { let mode = match mode {
0 => GameMode::STD, 0 => GameMode::Osu,
1 => GameMode::TKO, 1 => GameMode::Taiko,
2 => GameMode::CTB, 2 => GameMode::Catch,
3 => GameMode::MNA, 3 => GameMode::Mania,
_ => unreachable!(), _ => unreachable!(),
}; };