#ecs #generic #extended #generics #rust

macro regecs-codegen

Code generation macros for REGECS

3 releases (1 stable)

2.0.0-rc.1.0.0 May 22, 2024
1.0.0 May 16, 2021
0.1.0 May 15, 2021

#1224 in Game dev

BSD-3-Clause

53KB
901 lines

Rust Extended Generic ECS

The Rust Extended Generic ECS is an Entity Component System (ECS) based design with an additional scene, object layer and event system.

Features

  • No use of Rc or RefCell.
  • Support for custom state/context owned by ECS invoker.
  • Uses generics in order to represent both the component layer and the system layer.
  • Built-in event system.
  • Built-in Scene / object layer.

Dependencies

~1.5MB
~35K SLoC