From f74327f0331eea2f1051da947173c85d75cd3396 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 8 Feb 2024 18:44:23 -0800 Subject: [PATCH] Prepare v0.2.2 --- CHANGELOG.md | 4 ++++ Cargo.toml | 6 ++---- README.md | 2 +- evenio_macros/Cargo.toml | 2 +- src/archetype.rs | 1 + 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 32f4df4..cf860a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 0.2.2 - 2024-02-8 + +- Update documentation + ## 0.2.1 - 2024-02-2 - Added Rayon parallel iterator for `Fetcher`, available behind the `rayon` feature flag. diff --git a/Cargo.toml b/Cargo.toml index bbba8f9..c6d2d08 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "evenio" -version = "0.2.1" +version.workspace = true description = "An event-driven entity component system" edition.workspace = true license.workspace = true @@ -57,11 +57,9 @@ harness = false #### WORKSPACE #### -[workspace] -members = ["evenio_macros"] - [workspace.package] edition = "2021" +version = "0.2.2" license = "MIT" repository = "https://github.com/rj00a/evenio" diff --git a/README.md b/README.md index 1bad973..1ef0fed 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ The control flow of the entire program is then defined by the flow of events bet Features such as inter-system parallelism and event batching are planned but not yet implemented. -> **For a full step-by-step introduction, please read the [tutorial book 📚](tutorial).** +> **For a full step-by-step introduction, please read the [tutorial book 📚](https://docs.rs/evenio/latest/evenio/tutorial/).** ## Example diff --git a/evenio_macros/Cargo.toml b/evenio_macros/Cargo.toml index 555e130..4dc3e90 100644 --- a/evenio_macros/Cargo.toml +++ b/evenio_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "evenio_macros" -version = "0.2.1" +version.workspace = true description = "Procedural macros for `evenio`" edition.workspace = true repository.workspace = true diff --git a/src/archetype.rs b/src/archetype.rs index a5f7312..fd50516 100644 --- a/src/archetype.rs +++ b/src/archetype.rs @@ -141,6 +141,7 @@ impl Archetypes { where F: FnMut(EntityId), { + // TODO: this iteration is non-deterministic. self.by_components.retain(|comps, &mut idx| { if comps.binary_search(&component_idx).is_ok() { let arch = self.archetypes.remove(idx.0 as usize);