forked from amethyst/specs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
99 lines (79 loc) · 2.23 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[package]
name = "specs"
version = "0.17.0"
description = """
Specs is an Entity-Component-System library written in Rust.
"""
documentation = "https://docs.rs/specs/"
repository = "https://github.com/slide-rs/specs"
homepage = "https://specs.amethyst.rs"
readme = "README.md"
keywords = ["gamedev", "ecs", "entity", "component"]
categories = ["concurrency", "game-engines"]
license = "MIT/Apache-2.0"
authors = ["slide-rs hackers"]
exclude = ["bors.toml", ".travis.yml"]
edition = "2018"
# the `storage_cmp` and `storage_sparse` benches are called from `benches_main`
autobenches = false
[badges]
travis-ci = { repository = "slide-rs/specs" }
[dependencies]
crossbeam-queue = "0.3"
hashbrown = "0.11"
hibitset = { version = "0.6.3", default-features = false }
log = "0.4.8"
shred = { version = "0.12", default-features = false }
shrev = "1.1.1"
tuple_utils = "0.3.0"
rayon = { version = "1.5.1", optional = true }
serde = { version = "1.0.104", optional = true, features = ["serde_derive"] }
specs-derive = { version = "0.4.1", path = "specs-derive", optional = true }
uuid = { version = "0.8.1", optional = true, features = ["v4", "serde"] }
[features]
default = ["parallel"]
parallel = ["rayon", "shred/parallel", "hibitset/parallel"]
uuid_entity = ["uuid", "serde"]
stdweb = ["uuid/stdweb"]
wasm-bindgen = ["uuid/wasm-bindgen"]
storage-event-control = []
derive = ["shred-derive", "specs-derive"]
nightly = []
shred-derive = ["shred/shred-derive"]
[package.metadata.docs.rs]
features = ["parallel", "serde", "shred-derive", "specs-derive", "uuid_entity", "storage-event-control"]
[dev-dependencies]
nalgebra = "0.24"
criterion = "0.3.1"
ron = "0.5.1"
rand = "0.8"
serde_json = "1.0.48"
shred = { version = "0.12.0", default-features = false, features = ["shred-derive"] }
specs-derive = { path = "specs-derive", version = "0.4.1" }
[[example]]
name = "basic"
[[example]]
name = "full"
[[example]]
name = "cluster_bomb"
[[example]]
name = "bitset"
[[example]]
name = "track"
[[example]]
name = "ordered_track"
[[example]]
name = "saveload"
required-features = ["serde"]
[[bench]]
name = "benches_main"
harness = false
[[bench]]
name = "parallel"
[[bench]]
name = "world"
harness = false
[[bench]]
name = "big_or_small"
[workspace]
members = ["specs-derive"]