-
Notifications
You must be signed in to change notification settings - Fork 136
/
Cargo.toml
73 lines (64 loc) · 1.82 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "legion"
version = "0.4.0"
description = "High performance entity component system (ECS) library"
authors = ["Thomas Gillen <[email protected]>"]
repository = "https://github.com/amethyst/legion"
keywords = ["ecs", "game"]
categories = ["game-engines", "data-structures"]
readme = "readme.md"
license = "MIT"
edition = "2018"
[features]
default = ["parallel", "serialize", "crossbeam-events", "codegen"]
parallel = ["rayon"]
extended-tuple-impls = []
serialize = ["serde", "erased-serde", "uuid", "uuid/serde", "scoped-tls-hkt"]
crossbeam-events = ["crossbeam-channel"]
codegen = ["legion_codegen"]
stdweb = ["uuid/stdweb"]
wasm-bindgen = ["uuid/wasm-bindgen"]
reexport = ["legion_codegen", "legion_codegen/reexport"]
no-reexport = ["legion_codegen/no-reexport"]
[dependencies]
legion_codegen = { path = "codegen", version = "0.4.0", optional = true }
smallvec = "1.4"
itertools = "0.10"
downcast-rs = "1.2"
paste = "1.0.0"
parking_lot = "0.11"
bit-set = "0.5"
thiserror = "1.0"
uuid = { version = "0.8", features = ["v4"], optional = true }
rayon = { version = "1.4", optional = true }
serde = { version = "1", features = ["derive"], optional = true }
scoped-tls-hkt = { version = "0.1", optional = true }
erased-serde = { version = "0.3", optional = true }
crossbeam-channel = { version = "0.5", optional = true }
atomic_refcell = "0.1.6"
[dev-dependencies]
serde_json = "1.0"
bincode = "1.3"
criterion = "0.3"
cgmath = "0.18"
trybuild = "1.0"
[[bench]]
name = "benchmarks"
harness = false
[[bench]]
name = "parallel_query"
harness = false
required-features = ["parallel"]
[[bench]]
name = "transform"
harness = false
required-features = ["parallel"]
[[bench]]
name = "insertion"
harness = false
[[test]]
name = "codegen"
required-features = ["codegen"]
[[test]]
name = "systems_par_for_each"
required-features = ["parallel"]