#ecs #entity #toucan

yanked toucan_ecs

Simple and safe ECS library for Rust

0.3.1 Jun 20, 2022
0.3.0 Jun 20, 2022
0.2.0 Feb 8, 2022
0.1.1 Feb 4, 2022
0.1.0 Feb 4, 2022

#216 in #entity

MIT/Apache

100KB
2K SLoC

toucan_ecs

Crate Docs License: Apache 2.0

Simple and safe ECS library for Rust.

Provides basic features, such as:

  • create and destroy entities;
  • attach, get or remove components from the entity;
  • use entry of the entity to modify it;
  • view components of different types;
  • view components immutably or mutably.

For now library provides nothing for systems (are responsible for logic). You are free to create your own system!

Feature flags

This library contains some feature flags:

Feature name Description
resource Store resources in the world and view them

License

Licensed under either of

at your option.

Dependencies

~350KB