-
Notifications
You must be signed in to change notification settings - Fork 221
/
Cargo.toml
98 lines (85 loc) · 2.36 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
[package]
name = "specs"
version = "0.20.0"
description = """
Specs is an Entity-Component-System library written in Rust.
"""
documentation = "https://docs.rs/specs/"
repository = "https://github.com/amethyst/specs"
homepage = "https://amethyst.github.io/specs"
readme = "README.md"
keywords = ["gamedev", "ecs", "entity", "component"]
categories = ["concurrency", "game-engines"]
license = "MIT OR Apache-2.0"
authors = ["slide-rs hackers"]
include = ["/src", "/examples", "/benches", "/README.md", "/LICENSE-MIT", "/LICENSE-APACHE"]
edition = "2021"
rust-version = "1.70.0"
# the `storage_cmp` and `storage_sparse` benches are called from `benches_main`
autobenches = false
[dependencies]
ahash = "0.8.6"
crossbeam-queue = "0.3"
hibitset = { version = "0.6.4", default-features = false }
log = "0.4.8"
shred = { version = "0.16.0", default-features = false }
shrev = "1.1.1"
tuple_utils = "0.4.0"
nougat = "0.2.3"
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 = "1.0", optional = true, features = ["v4", "serde"] }
[features]
default = ["parallel"]
parallel = ["dep:rayon", "shred/parallel", "hibitset/parallel"]
uuid_entity = ["dep:uuid", "serde"]
stdweb = ["dep:uuid", "uuid?/js"]
storage-event-control = []
derive = ["shred-derive", "specs-derive"]
nightly = ["shred/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.32"
criterion = "0.3.1"
ron = "0.8.1"
rand = "0.8"
serde_json = "1.0.48"
shred = { version = "0.16.0", default-features = false, features = ["shred-derive"] }
specs-derive = { path = "specs-derive", version = "0.4.1" }
[[example]]
name = "async"
[[example]]
name = "basic"
[[example]]
name = "bitset"
[[example]]
name = "cluster_bomb"
[[example]]
name = "full"
[[example]]
name = "lend_join"
test = true
[[example]]
name = "ordered_track"
[[example]]
name = "saveload"
required-features = ["serde"]
[[example]]
name = "slices"
[[example]]
name = "track"
[[bench]]
name = "benches_main"
harness = false
[[bench]]
name = "parallel"
[[bench]]
name = "world"
harness = false
[[bench]]
name = "big_or_small"
[workspace]
members = ["specs-derive"]