-
-
Notifications
You must be signed in to change notification settings - Fork 175
/
Cargo.toml
139 lines (124 loc) · 4.64 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
138
139
[package]
name = "bevy_mod_picking"
version = "0.20.1"
authors = ["Aevyrie <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A modular picking plugin for Bevy."
repository = "https://github.com/aevyrie/bevy_mod_picking/"
keywords = ["gamedev", "picking", "bevy", "input", "eventlistener"]
categories = ["game-engines", "rendering"]
resolver = "2"
rust-version = "1.79.0"
[package.metadata.docs.rs]
all-features = true
[workspace]
members = ["crates/*", "backends/*"]
[dependencies]
bevy_app = { version = "0.14.0", default-features = false }
bevy_core = { version = "0.14.0", default-features = false }
bevy_core_pipeline = { version = "0.14.0", optional = true, default-features = false }
bevy_ecs = { version = "0.14.0", default-features = false }
bevy_math = { version = "0.14.0", default-features = false }
bevy_reflect = { version = "0.14.0", default-features = false }
bevy_render = { version = "0.14.0", default-features = false }
bevy_text = { version = "0.14.0", optional = true, default-features = false, features = [
"default_font",
] }
bevy_utils = { version = "0.14.0", default-features = false }
bevy_window = { version = "0.14.0", default-features = false }
# Optional
bevy_color = { version = "0.14.0", optional = true, default-features = false }
bevy_ui = { version = "0.14.0", optional = true, default-features = false }
bevy_eventlistener = "0.8.0"
bevy_egui = { optional = true, version = "0.28.0" } # >=0.28, <=0.XX
bevy_rapier3d = { optional = true, version = "0.27.0-rc.1" }
bevy_xpbd_3d = { optional = true, version = "0.5.0" }
avian3d = { optional = true, version = '0.1' }
# Local
bevy_picking_core = { path = "crates/bevy_picking_core", version = "0.20.0" }
bevy_picking_input = { path = "crates/bevy_picking_input", version = "0.20.0" }
bevy_picking_selection = { optional = true, path = "crates/bevy_picking_selection", version = "0.20.0" }
bevy_picking_highlight = { optional = true, path = "crates/bevy_picking_highlight", version = "0.20.0" }
bevy_picking_raycast = { optional = true, path = "backends/bevy_picking_raycast", version = "0.20.0" }
bevy_picking_ui = { optional = true, path = "backends/bevy_picking_ui", version = "0.20.0" }
bevy_picking_rapier = { optional = true, path = "backends/bevy_picking_rapier", version = "0.20.0" }
bevy_picking_sprite = { optional = true, path = "backends/bevy_picking_sprite", version = "0.20.0" }
bevy_picking_egui = { optional = true, path = "backends/bevy_picking_egui", version = "0.20.0" }
bevy_picking_xpbd = { optional = true, path = "backends/bevy_picking_xpbd", version = "0.20.0" }
bevy_picking_avian = { optional = true, path = "backends/bevy_picking_avian", version = "0.20.0" }
[dev-dependencies]
bevy = { version = "0.14.0", default-features = false, features = [
"bevy_winit",
"x11",
"bevy_gltf",
"bevy_scene",
"bevy_ui",
"bevy_gizmos",
"png",
"ktx2",
"zstd",
"tonemapping_luts",
] }
[features]
all = [
"selection",
"highlight",
"debug",
"backend_raycast",
"backend_bevy_ui",
"backend_rapier",
"backend_sprite",
"backend_egui",
"backend_xpbd",
]
default = [
"backend_raycast",
"backend_bevy_ui",
"backend_sprite",
"debug",
"selection",
"highlight",
]
selection = [
"bevy_picking_selection",
"bevy_picking_input/selection",
"bevy_picking_highlight/selection",
]
highlight = ["bevy_picking_highlight/pbr"]
debug = ["bevy_text", "bevy_ui/bevy_text", "bevy_core_pipeline"]
backend_raycast = ["bevy_picking_raycast"]
backend_rapier = ["bevy_picking_rapier", "bevy_rapier3d"]
backend_sprite = ["bevy_picking_sprite", "bevy_picking_highlight/sprite"]
backend_bevy_ui = ["bevy_picking_ui", "bevy_ui", "bevy_color"]
backend_egui = ["bevy_picking_egui", "bevy_egui"]
backend_xpbd = ["bevy_picking_xpbd", "bevy_xpbd_3d"]
backend_avian = ["bevy_picking_avian", "avian3d"]
[[example]]
name = "rapier"
path = "examples/rapier.rs"
required-features = ["backend_rapier"]
[[example]]
name = "egui"
path = "examples/egui.rs"
required-features = ["backend_egui"]
[[example]]
name = "event_listener"
path = "examples/event_listener.rs"
required-features = ["backend_egui"]
[[example]]
name = "render_to_texture"
path = "examples/render_to_texture.rs"
required-features = ["bevy_egui"]
[[example]]
name = "split_screen"
path = "examples/split_screen.rs"
required-features = ["backend_egui"]
[[example]]
name = "xpbd"
path = "examples/xpbd.rs"
required-features = ["backend_xpbd"]
[[example]]
name = "avian"
path = "examples/avian.rs"
required-features = ["backend_avian"]