#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

#1144 in Game dev

Download history 29/week @ 2024-02-26 14/week @ 2024-04-01 96/week @ 2024-05-20 3/week @ 2024-05-27

99 downloads per month

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