Skip to content

Commit

Permalink
Update to 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
laundmo committed Nov 5, 2023
1 parent eaacb1b commit 60cdda7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -11,19 +11,19 @@ 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]
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"

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct TrackedByKDTree;

fn main() {
App::new()
.add_plugin(AutomaticUpdate::<TrackedByKDTree>::new()
.add_plugins(AutomaticUpdate::<TrackedByKDTree>::new()
.with_frequency(Duration::from_secs_f32(0.3))
.with_transform(TransformMode::GlobalTransform))
.add_systems(Update, use_neighbour);
Expand All @@ -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 |
Expand Down

0 comments on commit 60cdda7

Please sign in to comment.