From 18c2343f435303d410c7d8482bfc56628d879b35 Mon Sep 17 00:00:00 2001 From: extrawurst Date: Tue, 7 Oct 2025 15:41:46 -0300 Subject: [PATCH 1/2] bevy 0.17 update --- Cargo.toml | 6 +++--- src/systems/parameters/mod.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fc4768f..cf256f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_fluent" -version = "0.12.0" +version = "0.13.0" authors = ["g "] edition = "2021" description = "Bevy plugin for localization using Fluent" @@ -18,7 +18,7 @@ categories = [ exclude = [".github/**/*"] [dependencies] -bevy = { version = "0.16", default-features = false, features = [ +bevy = { version = "0.17", default-features = false, features = [ "bevy_asset", "bevy_log", ] } @@ -37,5 +37,5 @@ unic-langid = { version = "0.9.4", features = ["serde"] } uuid = { version = "1.7.0", features = ["serde", "v4", "v5"] } [dev-dependencies] -bevy = "0.16" +bevy = "0.17" unic-langid = { version = "0.9.4", features = ["macros"] } diff --git a/src/systems/parameters/mod.rs b/src/systems/parameters/mod.rs index 1fbaac2..ee5250f 100644 --- a/src/systems/parameters/mod.rs +++ b/src/systems/parameters/mod.rs @@ -33,7 +33,7 @@ impl LocalizationBuilder<'_> { return None; } // TODO - let typed_handle = untyped_handle.clone_weak().typed(); + let typed_handle = untyped_handle.clone().typed(); if let Some(asset) = self.assets.get(&typed_handle) { Some((asset.locale(), Entry { handle: typed_handle, asset })) } else { From d7144625eefd856e6be164b6a55cc1aabf16676c Mon Sep 17 00:00:00 2001 From: extrawurst Date: Thu, 9 Oct 2025 05:47:47 -0300 Subject: [PATCH 2/2] fix ci --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1b20222..3c8969a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -33,7 +33,7 @@ jobs: run: cargo check - name: update & install if: runner.os == 'linux' - run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev + run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev - name: build & test run: cargo test --verbose - name: clippy