diff --git a/Cargo.toml b/Cargo.toml index d914267..105bdd4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "big-brain" -version = "0.22.0" +version = "0.23.0" authors = ["Kat Marchán "] edition = "2021" description = "Rusty Utility AI library" @@ -15,11 +15,11 @@ homepage = "https://github.com/zkat/big-brain" [workspace] [dependencies] -bevy = { version = "0.15.0", default-features = false } -big-brain-derive = { version = "=0.22.0", path = "./derive" } +bevy = { version = "0.16.0", default-features = false, features = ["bevy_log"] } +big-brain-derive = { version = "=0.23.0", path = "./derive" } [dev-dependencies] -bevy = { version = "0.15.0", default-features = true } +bevy = { version = "0.16.0", default-features = true } rand = { version = "0.8.5", features = ["small_rng"] } [features] diff --git a/README.md b/README.md index 5f62631..f7ac7b3 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ fn main() { #### bevy version and MSRV -The current version of `big-brain` is compatible with `bevy` 0.15.0. +The current version of `big-brain` is compatible with `bevy` 0.16.0. The Minimum Supported Rust Version for `big-brain` should be considered to be the same as `bevy`'s, which as of the time of this writing was "the diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 46c78e3..aa3d931 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "big-brain-derive" -version = "0.22.0" +version = "0.23.0" authors = ["Kat Marchán "] description = "Procedural macros to simplify implementation of Big Brain traits" documentation = "https://docs.rs/big-brain-derive" diff --git a/examples/concurrent.rs b/examples/concurrent.rs index b28d02b..788d583 100644 --- a/examples/concurrent.rs +++ b/examples/concurrent.rs @@ -6,7 +6,6 @@ use bevy::log::LogPlugin; use bevy::prelude::*; -use bevy::utils::tracing::debug; use big_brain::prelude::*; use rand::rngs::SmallRng; use rand::{Rng, SeedableRng}; diff --git a/examples/custom_measure.rs b/examples/custom_measure.rs index 0d9378c..6dec237 100644 --- a/examples/custom_measure.rs +++ b/examples/custom_measure.rs @@ -1,9 +1,9 @@ //! This example demonstrates how to build a custom measure and use that //! in a Thinker. +use bevy::ecs::component::Mutable; use bevy::log::LogPlugin; use bevy::prelude::*; -use bevy::utils::tracing::debug; use big_brain::prelude::*; use big_brain::scorers::MeasuredScorer; @@ -81,7 +81,7 @@ pub struct EatWaffles; fn eat_thing_action< TActionMarker: std::fmt::Debug + Component, - TActorMarker: Component + EatFood, + TActorMarker: Component + EatFood, >( time: Res