From ae25d19c5fe524b8d272894cbb2ef01bae5c533e Mon Sep 17 00:00:00 2001
From: Louis Capitanchik <contact@louiscap.co>
Date: Sun, 19 Nov 2023 02:13:07 +0000
Subject: [PATCH] Fix root exports

---
 src/ldtk/mod.rs | 3 +--
 src/lib.rs      | 6 ++++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/ldtk/mod.rs b/src/ldtk/mod.rs
index d799cf3..8106d29 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 40020d3..8e01210 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",
-- 
GitLab