-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathCargo.toml
103 lines (81 loc) · 2.5 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
[package]
name = "oxidized_navigation"
description = "A Nav-Mesh generation plugin for Bevy Engine."
version = "0.12.0"
edition = "2021"
authors = ["TheGrimsey"]
license = "MIT OR Apache-2.0"
readme = "README.md"
homepage = "https://github.com/TheGrimsey/oxidized_navigation"
repository = "https://github.com/TheGrimsey/oxidized_navigation"
documentation = "https://docs.rs/crate/oxidized_navigation"
keywords = ["gamedev", "navmesh", "navmesh-generation", "bevy"]
categories = ["game-development"]
[lib]
bench = false
[features]
default = ["parry3d"]
rapier = ["bevy_rapier3d", "parry3d"]
avian = ["avian3d", "parry3d"]
debug_draw = ["bevy/bevy_gizmos", "bevy/bevy_render", "bevy_rapier3d?/debug-render-3d", "avian3d?/debug-plugin"]
trace = []
[[example]]
name = "rapier3d"
required-features = ["rapier", "debug_draw"]
[[example]]
name = "rapier3d_heightfield"
required-features = ["rapier", "debug_draw"]
[[example]]
name = "rapier3d_multi_floor"
required-features = ["rapier", "debug_draw"]
[[example]]
name = "avian"
required-features = ["avian", "debug_draw"]
[[example]]
name = "avian_multi_floor"
required-features = ["avian", "debug_draw"]
[[example]]
name = "parry3d"
required-features = ["parry3d", "debug_draw"]
[[test]]
name = "rapier3d"
required-features = ["rapier"]
[[test]]
name = "avian"
required-features = ["avian"]
[[test]]
name = "parry3d"
required-features = ["parry3d"]
[dependencies]
bevy = { version = "0.15", default-features = false, features = ["multi_threaded"] }
# parry3d doesn't expose the convert-glam feature, so we need to add nalgebra to enable the feature
nalgebra = { version = "0.33", features = ["convert-glam029"] }
parry3d = { version = "0.17", optional = true }
bevy_rapier3d = { version = "0.28", optional = true, default-features = false, features = ["dim3"] }
avian3d = { version = "0.2", optional = true, default-features = false, features = ["3d", "f32", "parry-f32"] }
smallvec = { version = "1.13", features = ["union"] }
cfg-if = "1.0"
[dev-dependencies]
bevy = { version = "0.15", default-features = false, features = [
"bevy_asset",
"bevy_pbr",
"bevy_render",
"bevy_window",
"bevy_winit",
"x11",
"ktx2",
"tonemapping_luts",
"zstd",
] }
criterion = { version = "0.5" }
[[bench]]
name = "simple_geometry"
harness = false
required-features = ["parry3d"]
[[bench]]
name = "simple_navigation"
harness = false
required-features = ["parry3d"]
[package.metadata.docs.rs]
# Compile docs.rs docs with debug_draw so docs for it appear.
features = ["debug_draw"]