Skip to content

Upgrade to bevy 0.16 #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ repository = "https://github.com/johanhelsing/bevy_sparse_grid_2d"
version = "0.6.0"

[dependencies]
bevy = { version = "0.15", default-features = false }
bevy = { version = "0.16", default-features = false }
smallvec = { version = "1.6", features = ["const_generics"] } # same as bevy 0.15
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Personally, I'm using it for simple stupid collision broad phase in a couple of
use bevy::{
math::{bounding::Aabb2d, vec2},
prelude::*,
utils::HashSet,
platform::collections::HashSet
};
use bevy_sparse_grid_2d::SparseGrid2d;
const TILE_SIZE: usize = 1; // how wide each cell is
Expand Down
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

use bevy::{
math::bounding::Aabb2d,
platform::collections::{HashMap, HashSet},
prelude::{Entity, Vec2},
reflect::Reflect,
utils::{HashMap, HashSet},
};
use smallvec::SmallVec;

Expand Down Expand Up @@ -126,7 +126,6 @@ impl Iterator for KeyIter {
mod tests {
use bevy::math::{bounding::Aabb2d, vec2};
use bevy::prelude::default;
use bevy::utils::HashSet;

use super::*;

Expand Down
Loading