[package]
name = "shred"
version = "0.10.2"
authors = ["torkleyy <torkleyy@gmail.com>"]
description = """
Dispatches systems in parallel which need read access to some resources,
and write access to others.
"""
readme = "README.md"
documentation = "https://docs.rs/shred"
repository = "https://github.com/amethyst/shred"
keywords = ["parallel", "systems", "resources", "ecs"]
categories = ["concurrency"]
license = "MIT/Apache-2.0"
exclude = ["bors.toml", ".travis.yml"]
edition = "2018"
[badges]
travis-ci = { repository = "amethyst/shred" }
[dependencies]
arrayvec = "0.5.1"
hashbrown = "0.7.0"
mopa = "0.2.2"
rayon = { version = "1.3.0", optional = true }
shred-derive = { path = "shred-derive", version = "0.6.0", optional = true }
smallvec = "1.2.0"
tynm = "0.1.3"
[workspace]
members = ["shred-derive"]
[dev-dependencies]
cgmath = "0.17.0"
shred-derive = { path = "shred-derive", version = "0.6.0" }
[features]
default = ["parallel", "shred-derive"]
parallel = ["rayon"]
[[example]]
name = "async"
required-features = ["parallel"]
[[example]]
name = "basic_dispatch"
[[example]]
name = "custom_bundle"
[[example]]
name = "derive_bundle"
[[example]]
name = "dyn_sys_data"
[[example]]
name = "fetch_opt"
[[example]]
name = "generic_derive"
[[example]]
name = "par_seq"
required-features = ["parallel"]
[[example]]
name = "seq_dispatch"
[[example]]
name = "thread_local"
[[example]]
name = "batch_dispatching"
required-features = ["parallel"]