forked from Leafwing-Studios/leafwing-input-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
69 lines (59 loc) · 1.61 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
[package]
name = "leafwing-input-manager"
description = "A powerfully direct stateful input manager for the Bevy game engine."
version = "0.10.0"
authors = ["Leafwing Studios"]
homepage = "https://leafwing-studios.com/"
repository = "https://github.com/leafwing-studios/leafwing-input-manager"
license = "MIT OR Apache-2.0"
edition = "2021"
categories = ["games", "game-development"]
keywords = ["bevy"]
exclude = ["assets/**/*", "tools/**/*", ".github/**/*"]
[profile.dev]
opt-level = 3
[workspace]
members = ["./", "tools/ci", "macros"]
[features]
default = ['ui']
ui = ['bevy/bevy_ui']
# If this feature is enabled, egui will have priority over actions when processing inputs
egui = ['dep:bevy_egui']
[dependencies]
leafwing_input_manager_macros = { path = "macros", version = "0.9" }
bevy = { version = "0.11", default-features = false, features = [
"serialize",
"bevy_gilrs",
] }
bevy_egui = { version = "0.21", optional = true }
petitset = { version = "0.2.1", features = ["serde_compat"] }
derive_more = { version = "0.99", default-features = false, features = [
"display",
"error",
] }
itertools = "0.11"
serde = { version = "1.0", features = ["derive"] }
fixedbitset = "0.4.2"
once_cell = "1.17.1"
[dev-dependencies]
bevy_egui = { version = "0.21" }
bevy = { version = "0.11", default-features = false, features = [
"bevy_asset",
"bevy_sprite",
"bevy_text",
"bevy_ui",
"bevy_render",
"bevy_core_pipeline",
"x11",
] }
serde_test = "1.0"
criterion = "0.5"
[[bench]]
name = "action_state"
harness = false
[[bench]]
name = "input_map"
harness = false
[lib]
name = "leafwing_input_manager"
path = "src/lib.rs"