Skip to content

Commit 1f5fcdd

Browse files
committed
Upgrade to bevy 0.16
1 parent c64cf18 commit 1f5fcdd

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
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 & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
#![doc = include_str!("../README.md")]
33

44
use bevy::{
5-
math::bounding::Aabb2d,
6-
prelude::{Entity, Vec2},
7-
reflect::Reflect,
8-
utils::{HashMap, HashSet},
5+
math::bounding::Aabb2d, platform::collections::{HashMap, HashSet}, prelude::{Entity, Vec2}, reflect::Reflect
96
};
107
use smallvec::SmallVec;
118

@@ -126,7 +123,6 @@ impl Iterator for KeyIter {
126123
mod tests {
127124
use bevy::math::{bounding::Aabb2d, vec2};
128125
use bevy::prelude::default;
129-
use bevy::utils::HashSet;
130126

131127
use super::*;
132128

0 commit comments

Comments
 (0)