Skip to content

Commit

Permalink
Release 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
DasLixou committed Dec 26, 2022
1 parent 151c56b commit dcbd215
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.0.4

* Fix weird compile error

# 1.0.3

* Make generated MarkerData having same visibility as `EntityMarker` struct.
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_ecs_markers"
version = "1.0.3"
version = "1.0.4"
edition = "2021"
authors = ["DasLixou"]
description = "🏷️ Markers for Bevy ECS Entities"
Expand All @@ -12,7 +12,7 @@ exclude = ["examples"]

[dependencies]
bevy_ecs = "0.9.1"
bevy_ecs_markers_macros = { path = "macros", version = "1.0.3", optional = true }
bevy_ecs_markers_macros = { path = "macros", version = "1.0.4", optional = true }
bevy = { version = "0.9.1", optional = true }

[features]
Expand Down
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_ecs_markers_macros"
version = "1.0.3"
version = "1.0.4"
edition = "2021"
authors = ["DasLixou"]
description = "Proc Macros for Bevy ECS Markers"
Expand Down
2 changes: 1 addition & 1 deletion src/params/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::entity_marker::EntityMarker;
/// A System Param that can read the data from a given [`EntityMarker`]
#[derive(SystemParam)]
pub struct Marker<'s, 'w, M: EntityMarker + 'static> {
marker_data: Res<'w, M::MarkerData>,
marker_data: Res<'w, <M as EntityMarker>::MarkerData>,
#[system_param(ignore)]
phantom: PhantomData<&'s ()>,
}
Expand Down
2 changes: 1 addition & 1 deletion src/params/marker_mut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::entity_marker::EntityMarker;
/// A System Param that can read and modify the data from a given [`EntityMarker`]
#[derive(SystemParam)]
pub struct MarkerMut<'s, 'w, M: EntityMarker + 'static> {
marker_data: ResMut<'w, M::MarkerData>,
marker_data: ResMut<'w, <M as EntityMarker>::MarkerData>,
#[system_param(ignore)]
phantom: PhantomData<&'s ()>,
}
Expand Down

0 comments on commit dcbd215

Please sign in to comment.