diff --git a/src/ldtk/mod.rs b/src/ldtk/mod.rs index d799cf3c373ee5041914bcfa33675256db4be30b..8106d292cd15f8e97e5745eb13d2d0068331b5e8 100644 --- a/src/ldtk/mod.rs +++ b/src/ldtk/mod.rs @@ -19,8 +19,7 @@ mod data_1_4_0; use bevy::asset::io::Reader; use bevy::asset::{ - AssetLoader, AssetPath, AsyncReadExt, BoxedFuture, LoadContext, LoadedAsset, UntypedAssetId, - VisitAssetDependencies, + AssetLoader, AsyncReadExt, BoxedFuture, LoadContext, UntypedAssetId, VisitAssetDependencies, }; use bevy::prelude::Asset; use bevy::reflect::{TypePath, TypeUuid, Uuid}; diff --git a/src/lib.rs b/src/lib.rs index 40020d397e02a808720df13ab0ef900d1c3a0489..8e01210015b60678528063024174bb9f89b178c3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,6 @@ #[cfg(any( + feature = "ldtk_1_4_1", + feature = "ldtk_1_4_0", feature = "ldtk_1_3_0", feature = "ldtk_1_2_5", feature = "ldtk_1_2_4", @@ -19,6 +21,8 @@ mod pregen; mod system; #[cfg(any( + feature = "ldtk_1_4_1", + feature = "ldtk_1_4_0", feature = "ldtk_1_3_0", feature = "ldtk_1_2_5", feature = "ldtk_1_2_4", @@ -59,6 +63,8 @@ mod __plugin { impl Plugin for MicroLDTKPlugin { fn build(&self, app: &mut App) { #[cfg(any( + feature = "ldtk_1_4_1", + feature = "ldtk_1_4_0", feature = "ldtk_1_3_0", feature = "ldtk_1_2_5", feature = "ldtk_1_2_4",