diff --git a/Cargo.toml b/Cargo.toml index 591a60c..cb3dc0c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bevy_scriptum" authors = ["Jaroslaw Konik "] -version = "0.3.0" +version = "0.4.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" @@ -13,7 +13,7 @@ keywords = ["bevy", "rhai", "scripting", "game", "gamedev"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bevy = { default-features = false, version = "0.12.0", features = [ +bevy = { default-features = false, version = "0.13.0", features = [ "bevy_asset", ] } serde = "1.0.162" diff --git a/README.md b/README.md index 64c3392..683b880 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,7 @@ The examples live in `examples` directory and their corresponding scripts live i | bevy version | bevy_scriptum version | |--------------|----------------------| +| 0.13 | 0.4 | | 0.12 | 0.3 | | 0.11 | 0.2 | | 0.10 | 0.1 | diff --git a/src/assets.rs b/src/assets.rs index 11f7573..842d8a7 100644 --- a/src/assets.rs +++ b/src/assets.rs @@ -1,13 +1,12 @@ use bevy::{ asset::{io::Reader, Asset, AssetLoader, AsyncReadExt as _, LoadContext}, - reflect::{TypePath, TypeUuid}, + reflect::TypePath, utils::BoxedFuture, }; use serde::Deserialize; /// A script that can be loaded by the [crate::ScriptingPlugin]. -#[derive(Asset, Debug, Deserialize, TypeUuid, TypePath)] -#[uuid = "3ed4b68b-4f5d-4d82-96f6-5194e358921a"] +#[derive(Asset, Debug, Deserialize, TypePath)] pub struct RhaiScript(pub String); /// A loader for [RhaiScript] assets. diff --git a/src/lib.rs b/src/lib.rs index 804d306..15790bc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -142,6 +142,7 @@ //! //! | bevy version | bevy_scriptum version | //! |--------------|----------------------| +//! | 0.13 | 0.4 | //! | 0.12 | 0.3 | //! | 0.11 | 0.2 | //! | 0.10 | 0.1 |