# HG changeset patch # User Link Mauve # Date 1760445726 0 # Node ID 11249e4b4e030c10bd59c0e3ccb282776a90ed21 # Parent 94033091458b44bd9c1eb947763e33d083e25db2 Rust: Bump dependencies which require no code change diff --git a/Cargo.toml b/Cargo.toml --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,5 @@ [workspace] +resolver = "2" members = [ "formats", diff --git a/formats/Cargo.toml b/formats/Cargo.toml --- a/formats/Cargo.toml +++ b/formats/Cargo.toml @@ -12,5 +12,5 @@ [dependencies] nom = { version = "8", default-features = false, features = ["alloc"] } encoding_rs = "0.8" -bitflags = "1" +bitflags = "2" touhou-utils = "*" diff --git a/formats/src/th06/ecl.rs b/formats/src/th06/ecl.rs --- a/formats/src/th06/ecl.rs +++ b/formats/src/th06/ecl.rs @@ -13,6 +13,7 @@ bitflags! { /// Bit flags describing the current difficulty level. + #[derive(Clone, Copy, Debug, Hash, PartialEq, Eq)] pub struct Rank: u16 { /// Easy mode. const EASY = 0x100; diff --git a/python/Cargo.toml b/python/Cargo.toml --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -15,7 +15,7 @@ [dependencies] touhou-formats = "*" pyo3 = "0.26" -image = { version = "0.24", default-features = false, features = ["png"], optional = true } +image = { version = "0.25", default-features = false, features = ["png"], optional = true } [features] default = [] diff --git a/runners/Cargo.toml b/runners/Cargo.toml --- a/runners/Cargo.toml +++ b/runners/Cargo.toml @@ -13,7 +13,7 @@ touhou-formats = "*" touhou-interpreters = "*" touhou-utils = "*" -image = { version = "0.24", default-features = false, features = ["png", "jpeg"] } +image = { version = "0.25", default-features = false, features = ["png", "jpeg"] } luminance = "0.39" luminance-glfw = { version = "0.12", default-features = false, features = ["log-errors"] } luminance-derive = "0.5"