Indra-db / Flecs-Rust

Rust API for Flecs: A Fast and Flexible Entity Component System (ECS)
MIT License
194 stars 11 forks source link

Change single world feature into multi-world feature. Allow opting into multi-world support. #65

Closed waywardmonkeys closed 7 months ago

waywardmonkeys commented 7 months ago

This makes it easier to have single world support enabled by default but able to opt into multi, rather than having opted into single world and it is harder to get back to multiworld.

Tests often need multiworld support since they might be creating and destroying lots of worlds on various threads.