-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
108 lines (90 loc) · 2.67 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
[workspace]
members = ["proc-lib", "proc"]
[workspace.package]
version = "1.0.0-rc6"
edition = "2021"
authors = ["Zakarum <[email protected]>"]
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/edict"
homepage = "https://github.com/zakarumych/edict"
repository = "https://github.com/zakarumych/edict"
readme = "README.md"
description = "Powerful entity-component-system library"
keywords = ["ecs", "entity"]
categories = ["no-std", "game-development", "data-structures"]
[package]
name = "edict"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
documentation.workspace = true
homepage.workspace = true
repository.workspace = true
readme.workspace = true
description.workspace = true
keywords.workspace = true
categories.workspace = true
[features]
# Enables support for async executor with ECS access
# Without "std" it requires extern "C" functions provided, see `nostd` module
flow = []
# Enables built-in scheduler
# Without "std" it requires extern "C" functions provided, see `nostd` module
scheduler = []
std = ["serde?/std", "alkahest?/std", "dep:parking_lot"]
default = ["std", "scheduler", "flow", "hashbrown/default"]
rayon = ["dep:rayon", "std"]
[dependencies]
edict-proc = { version = "=1.0.0-rc6", path = "proc" }
amity = { version = "0.2.1", default-features = false, features = ["alloc"] }
hashbrown = { version = "0.15", default-features = false, features = [
"default-hasher",
] }
smallvec = { version = "1.10", features = ["union"], default-features = false }
tiny-fn = "0.1.7"
atomicell = "0.2"
rayon = { version = "1.7", optional = true }
alkahest = { version = "0.3.0", optional = true, features = [
"alloc",
"fixed32",
], default-features = false }
nanoserde = { version = "0.1.32", optional = true, default-features = false }
serde = { version = "1.0", optional = true, default-features = false, features = [
"alloc",
] }
parking_lot = { version = "0.12", optional = true }
slab = { version = "0.4", default-features = false }
lock_api = { version = "0.4", default-features = false }
[dev-dependencies]
alkahest-proc = { version = "0.3.0" }
[[example]]
name = "alive"
required-features = []
[[example]]
name = "allocate"
required-features = ["scheduler", "std"]
[[example]]
name = "batch"
required-features = []
[[example]]
name = "borrow"
required-features = []
[[example]]
name = "demo"
required-features = []
[[example]]
name = "derive"
required-features = []
[[example]]
name = "external"
required-features = []
[[example]]
name = "flow"
required-features = ["scheduler", "flow", "std"]
[[example]]
name = "relation"
required-features = []
[[example]]
name = "schedule"
required-features = ["scheduler", "std"]