Specs
Specs Parallel ECS
Specs is an Entity-Component System written in Rust. Unlike most other ECS libraries out there, it provides
- easy parallelism
- high flexibility
- contains 5 different storages for components, which can be extended by the user
- its types are mostly not coupled, so you can easily write some part yourself and still use Specs
System
s may read from and write to components and resources, can depend on each other and you can use barriers to force several stages in system execution
- high performance for real-world applications
Minimum Rust version: 1.38
Link to the book
Example
use *;
// A component contains data
// which is associated with an entity.
;
;
;
Please look into the examples directory for more.
Public dependencies
crate | version |
---|---|
hibitset | |
rayon | |
shred | |
shrev |
Contribution
Contribution is very welcome! If you didn't contribute before, just filter for issues with "easy" or "good first issue" label. Please note that your contributions are assumed to be dual-licensed under Apache-2.0/MIT.