-
Notifications
You must be signed in to change notification settings - Fork 17
/
Cargo.toml
56 lines (44 loc) · 1.17 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
[package]
name = "bevy_spatial"
description = "A crate for tracking bevy entities in spatial indices."
documentation = "https://docs.rs/bevy_spatial"
version = "0.10.0"
license = "MIT OR Apache-2.0"
edition = "2021"
keywords = ["gamedev", "bevy", "kdtree", "spatial", "neighbour"]
repository = "https://github.com/laundmo/bevy-spatial"
readme = "README.md"
authors = ["laund <[email protected]>"]
[dependencies]
bevy = { version = "0.15", default-features = false }
# KD-Tree dependencies
kd-tree = { version = "0.6.0", optional = true }
typenum = { version = "1.17.0" }
num-traits = { version = "0.2.19" }
[features]
default = ["kdtree_rayon"]
kdtree_rayon = ["kdtree", "kd-tree/rayon"]
kdtree = ["dep:kd-tree"]
[dev-dependencies]
bevy = { version = "0.15" }
rand = "0.8.5"
wasm-server-runner = "0.6.3"
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
[profile.release-with-debug]
inherits = "release"
debug = true
[[example]]
name = "distance2d"
required-features = ["kdtree"]
[[example]]
name = "distance3d"
required-features = ["kdtree"]
[[example]]
name = "modify_timestep"
required-features = ["kdtree"]
[[example]]
name = "movetowards"
required-features = ["kdtree"]