-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
49 lines (42 loc) · 1.28 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
[package]
name = "bevy_enhanced_input"
version = "0.5.0"
authors = ["Hennadii Chernyshchyk <genaloner@gmail.com>"]
edition = "2021"
description = "Dynamic and contextual input mappings for Bevy"
readme = "README.md"
repository = "https://github.com/projectharmonia/bevy_enhanced_input"
keywords = ["bevy", "input"]
categories = ["game-development"]
license = "MIT OR Apache-2.0"
include = ["/src", "/tests", "/examples", "/LICENSE*"]
[dependencies]
bevy_enhanced_input_macros = { path = "macros", version = "0.5.0" }
bevy = { version = "0.15", default-features = false, features = ["serialize"] }
bevy_egui = { version = "0.32", default-features = false, optional = true }
serde = "1.0"
bitflags = { version = "2.6", features = ["serde"] }
[dev-dependencies]
bevy = { version = "0.15", default-features = false, features = [
"bevy_gilrs",
"bevy_gizmos",
"bevy_window",
"x11",
] }
[features]
default = ["ui_priority"]
# Prioritizes 'bevy_ui' actions when processing inputs.
ui_priority = ['bevy/bevy_ui']
# Prioritizes 'egui' over actions when processing inputs.
egui_priority = ['dep:bevy_egui']
[[example]]
name = "ui_priority"
required-features = [
"ui_priority",
"egui_priority",
"bevy_egui/render",
"bevy_egui/default_fonts",
"bevy/default_font",
]
[workspace]
members = ["macros"]