specs-static

Crates.iospecs-static
lib.rsspecs-static
version0.3.0
sourcesrc
created_at2018-03-26 07:40:29.030304
updated_at2019-03-06 16:50:44.311611
descriptionspecs-static is an extension for Specs that adds custom ids.
homepage
repositoryhttps://github.com/torkleyy/specs-static
max_upload_size
id57547
size23,856
ed25519-maintainers (github:dalek-cryptography:ed25519-maintainers)

documentation

https://docs.rs/specs-static/

README

specs-static

Build Status Crates.io MIT/Apache Docs.rs LoC

An experimental extension for Specs. This adds component storages that are not indexed by Entity, but by custom ids that are entirely managed by the user.

This can be useful for tile maps where you want each tile to have certain components. Managing the ids manually will give you a huge performance boost here.

Usage

Please see the basic example.

Required Rust version

1.29 stable

Features

  • Storage with custom ids
  • get, get_mut and Join
  • WorldExt for registering these storages

Contribution

Contribution is highly welcome! If you'd like another feature, just create an issue. You can also help out with any issue you want to; just make sure to leave a comment that you're working on it. If you need any help, feel free to ask!

All contributions are assumed to be dual-licensed under MIT/Apache-2.

License

specs-static is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT.

Commit count: 14

cargo fmt