diff --git a/Cargo.toml b/Cargo.toml index 9672487..fd4eebf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "bevy_spatial" description = "A crate for tracking bevy entities in spatial indices." documentation = "https://docs.rs/bevy_spatial" -version = "0.6.0" +version = "0.7.0" license = "MIT OR Apache-2.0" edition = "2021" keywords = ["gamedev", "bevy", "kdtree", "knn", "nearest-neighbour"] @@ -11,11 +11,11 @@ readme = "README.md" authors = ["laundmo"] [dependencies] -bevy = { version = "0.11", default-features = false } +bevy = { version = "0.12", default-features = false } # KD-Tree dependencies kd-tree = { version = "0.5.1", optional = true, features = ["rayon"] } -typenum = { version = "1.15.0" } -num-traits = { version = "0.2.15" } +typenum = { version = "1.17.0" } +num-traits = { version = "0.2.17" } [features] @@ -23,7 +23,7 @@ default = ["kdtree"] kdtree = ["dep:kd-tree"] [dev-dependencies] -bevy = { version = "0.11" } +bevy = { version = "0.12" } rand = "0.8.5" wasm-server-runner = "0.4.0" diff --git a/README.md b/README.md index a19ee2f..76aa695 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ struct TrackedByKDTree; fn main() { App::new() - .add_plugin(AutomaticUpdate::::new() + .add_plugins(AutomaticUpdate::::new() .with_frequency(Duration::from_secs_f32(0.3)) .with_transform(TransformMode::GlobalTransform)) .add_systems(Update, use_neighbour); @@ -46,6 +46,7 @@ For more details on usage see [Examples](https://github.com/laundmo/bevy-spatial | bevy | bevy_spatial | | ---- | ------------ | +| 0.12 | 0.7.0 | | 0.11 | 0.6.0 | | 0.10 | 0.5.0 | | 0.9 | 0.4.0 |