changeset 777:11249e4b4e03

Rust: Bump dependencies which require no code change
author Link Mauve <linkmauve@linkmauve.fr>
date Tue, 14 Oct 2025 12:42:06 +0000
parents 94033091458b
children 816e1f01d650
files Cargo.toml formats/Cargo.toml formats/src/th06/ecl.rs python/Cargo.toml runners/Cargo.toml
diffstat 5 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,4 +1,5 @@
 [workspace]
+resolver = "2"
 
 members = [
     "formats",
--- 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 = "*"
--- 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;
--- 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 = []
--- 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"