-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
137 lines (112 loc) · 3.44 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[package]
name = "flax"
version = "0.7.1"
edition = "2021"
authors = ["Tei Leelo Roberts <ten3roberts@gmail.com>"]
description = "An ergonomic archetypical ECS"
documentation = "https://docs.rs/flax"
repository = "https://github.com/ten3roberts/flax"
keywords = ["ecs", "hierarchy", "entity"]
categories = ["data-structures", "game-engines", "no-std"]
license = "MIT"
[workspace]
members = ["flax-derive", "asteroids"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
flax-derive = { path = "./flax-derive", version = "0.7.1", optional = true }
flume = { version = "0.11.0", default-features = false, optional = true }
atomic_refcell = { version = "0.1.13", default-features = false }
bitflags = { version = "2.4.1", default-features = false }
anyhow = { version = "1.0.75", default-features = false }
itertools = "0.12.1"
rayon = { version = "1.8.0", default-features = false, optional = true }
tokio = { version = "1.33.0", default-features = false, features = [
"sync",
], optional = true }
smallvec = { version = "1.11.1", default-features = false }
tracing = { version = "0.1.40", optional = true }
tynm = "0.1.9"
serde = { version = "1.0.190", features = ["derive"], optional = true }
erased-serde = { version = "0.3.31", features = [], optional = true }
once_cell = "1.18.0"
puffin = { version = "0.19", optional = true }
[dev-dependencies]
tokio = { version = "1.33.0", features = ["test-util", "macros"] }
futures = "0.3.29"
itertools = { version = "0.12.1", default-features = false }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
serde_json = "1.0.107"
glam = { version = "0.27.0", features = ["rand", "serde", "scalar-math"] }
rand = "0.8.5"
tracing-tree = "0.3.0"
bincode = "1.3.3"
ron = "0.8.1"
tracing = "0.1.40"
criterion = "0.5.1"
pretty_assertions = "1.4.0"
[profile.bench]
debug = true
[features]
std = ["itertools/use_std", "itertools/use_alloc", "anyhow/std"]
default = ["std", "rayon", "flume"]
serde = ["dep:serde", "erased-serde"]
derive = ["flax-derive"]
[[example]]
name = "guide"
required-features = ["std"]
path = "./examples/guide.rs"
[[example]]
name = "query"
required-features = ["std"]
path = "./examples/guide/query.rs"
[[example]]
name = "builder"
path = "./examples/guide/builder.rs"
required-features = ["std"]
[[example]]
name = "query_advanced"
path = "./examples/guide/query_advanced.rs"
required-features = ["std"]
[[example]]
name = "relations"
path = "./examples/guide/relations.rs"
required-features = ["std"]
[[example]]
name = "commandbuffer"
path = "./examples/guide/commandbuffer.rs"
required-features = ["std"]
[[example]]
name = "serialize"
path = "./examples/guide/serialize.rs"
required-features = ["std"]
[[example]]
name = "change_detection"
path = "./examples/guide/change_detection.rs"
required-features = ["std"]
[[example]]
name = "query_basic"
path = "./examples/query/basic.rs"
required-features = ["std"]
[[example]]
name = "graphs"
path = "./examples/query/graphs.rs"
required-features = ["std"]
[[example]]
name = "transform"
path = "./examples/query/transform.rs"
required-features = ["std"]
[[example]]
name = "systems"
path = "./examples/guide/systems.rs"
required-features = ["std", "rayon"]
[[example]]
name = "springs"
path = "./examples/guide/springs.rs"
required-features = ["std"]
[[bench]]
name = "benchmarks"
harness = false
required-features = ["std"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]