-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
105 lines (85 loc) · 1.99 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
[package]
name = "flecs"
description = "Rust bindings for the Flecs Entity Component System"
version.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
rust-version.workspace = true
[workspace]
members = ["flecs-sys"]
resolver = "2"
[workspace.package]
version = "0.1.5"
edition = "2021"
homepage = "https://www.flecs.dev"
repository = "https://github.com/jazzay/flecs-rs"
license = "MIT"
keywords = ["ecs", "game", "flecs"]
categories = ["game-engines", "data-structures"]
rust-version = "1.68"
[profile.release]
# debug = true # Don't accidently submit this!
# This option sadly results in 3X worse performance in Query::iter() on Arm
# while the benefit is small in some areas.
# revisit if we can figure out / fix that perf degradation.
# lto = "fat"
[dependencies]
flecs-sys = { path = "flecs-sys", version = "0.1.5" }
once_cell = "1.18"
[dev-dependencies]
hecs = "0.10.3"
bevy_ecs = "0.11.3"
flax = "0.5.0"
criterion = "0.5"
[features]
export_bindings = ["flecs-sys/export_bindings"]
[[example]]
name = "entity_basics"
path = "examples/entity/basics.rs"
test = true
[[example]]
name = "entity_hierarchy"
path = "examples/entity/hierarchy.rs"
test = true
[[example]]
name = "entity_iterate_components"
path = "examples/entity/iterate_components.rs"
test = true
[[example]]
name = "prefabs"
path = "examples/entity/prefabs.rs"
test = true
[[example]]
name = "relations"
path = "examples/entity/relations.rs"
test = true
[[example]]
name = "dynamic_components"
test = true
[[example]]
name = "hello_world"
test = true
[[example]]
name = "filters"
test = true
[[example]]
name = "queries_basics"
path = "examples/queries/basics.rs"
test = true
[[example]]
name = "systems"
test = true
[[example]]
name = "systems_basics"
path = "examples/systems/basics.rs"
test = true
[[example]]
name = "systems_delta_time"
path = "examples/systems/delta_time.rs"
test = true
[[bench]]
name = "ecs_compare"
path = "benches/ecs_compare.rs"
harness = false