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 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 {