diff --git a/Cargo.toml b/Cargo.toml index 0eec4b4..048ce58 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ bevy_text = ["bevy/bevy_text", "bevy/bevy_render", "bevy/bevy_sprite"] [dependencies] interpolation = "0.2" -bevy = { version = "0.11", default-features = false } +bevy = { version = "0.12.0-dev", default-features = false } [dev-dependencies] bevy-inspector-egui = "0.19" @@ -65,3 +65,6 @@ required-features = [ "bevy_sprite", "bevy_text", "bevy/bevy_winit" ] [workspace] resolver = "2" members = [".", "benchmarks/"] + +[patch.crates-io] +bevy = { git = "https://github.com/bevyengine/bevy.git" } diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml index 8abc515..ccd3b40 100644 --- a/benchmarks/Cargo.toml +++ b/benchmarks/Cargo.toml @@ -18,7 +18,7 @@ criterion = { version = "0.4", features = ["html_reports"] } bevy_tweening = { path = "../" } [dependencies.bevy] -version = "0.11" +version = "0.12.0-dev" default-features = false features = ["bevy_render", "bevy_sprite", "bevy_text", "bevy_ui"] diff --git a/src/lib.rs b/src/lib.rs index b97a0cb..5f34b1d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -558,7 +558,7 @@ mod tests { } #[cfg(feature = "bevy_asset")] - #[derive(Debug, Default, Reflect, TypeUuid)] + #[derive(Asset, Debug, Default, Reflect, TypeUuid)] #[uuid = "a33abc11-264e-4bbb-82e8-b87226bb4383"] struct DummyAsset { value: f32, diff --git a/src/plugin.rs b/src/plugin.rs index 7425578..a4bfd7f 100644 --- a/src/plugin.rs +++ b/src/plugin.rs @@ -157,10 +157,7 @@ mod tests { pub fn new(animator: T) -> Self { let mut world = World::new(); world.init_resource::>(); - - let mut time = Time::default(); - time.update(); - world.insert_resource(time); + world.init_resource::