Skip to content

Commit 9898b3d

Browse files
committed
Upgrade to bevy 0.16
1 parent c64cf18 commit 9898b3d

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ repository = "https://github.com/johanhelsing/bevy_sparse_grid_2d"
1010
version = "0.6.0"
1111

1212
[dependencies]
13-
bevy = { version = "0.15", default-features = false }
13+
bevy = { version = "0.16", default-features = false }
1414
smallvec = { version = "1.6", features = ["const_generics"] } # same as bevy 0.15

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Personally, I'm using it for simple stupid collision broad phase in a couple of
1313
use bevy::{
1414
math::{bounding::Aabb2d, vec2},
1515
prelude::*,
16-
utils::HashSet,
16+
platform::collections::HashSet
1717
};
1818
use bevy_sparse_grid_2d::SparseGrid2d;
1919
const TILE_SIZE: usize = 1; // how wide each cell is

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
use bevy::{
55
math::bounding::Aabb2d,
6+
platform::collections::{HashMap, HashSet},
67
prelude::{Entity, Vec2},
78
reflect::Reflect,
8-
utils::{HashMap, HashSet},
99
};
1010
use smallvec::SmallVec;
1111

@@ -126,7 +126,6 @@ impl Iterator for KeyIter {
126126
mod tests {
127127
use bevy::math::{bounding::Aabb2d, vec2};
128128
use bevy::prelude::default;
129-
use bevy::utils::HashSet;
130129

131130
use super::*;
132131

0 commit comments

Comments
 (0)