forked from Leafwing-Studios/leafwing-input-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
78 lines (65 loc) · 1.97 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
[package]
name = "leafwing-input-manager"
description = "A powerfully direct stateful input manager for the Bevy game engine."
version = "0.14.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 = ['asset', 'ui']
# Allow using the `InputMap` as `bevy::asset::Asset`.
asset = ['bevy/bevy_asset']
# Add support for 'bevy::ui' integration:
# - Allow 'bevy::ui' to take priority over actions when processing inputs.
# - Automatic process clicks on 'bevy::ui' buttons that attached `ActionStateDriver` to drive corresponding actions.
# - Allow using `MockUIInteraction` for 'bevy::ui' input mocking.
ui = ['bevy/bevy_ui']
# Disable the priority of 'bevy::ui' when processing inputs.
no_ui_priority = []
# Add support for 'egui' integration:
# - Allow 'egui' to take priority over actions when processing inputs.
egui = ['dep:bevy_egui']
[dependencies]
leafwing_input_manager_macros = { path = "macros", version = "0.13" }
bevy = { version = "0.13", default-features = false, features = [
"serialize",
"bevy_gilrs",
] }
bevy_egui = { version = "0.25", optional = true }
derive_more = { version = "0.99", default-features = false, features = [
"display",
"error",
] }
itertools = "0.12"
serde = { version = "1.0", features = ["derive"] }
[dev-dependencies]
bevy = { version = "0.13", default-features = false, features = [
"bevy_asset",
"bevy_sprite",
"bevy_text",
"bevy_ui",
"bevy_render",
"bevy_core_pipeline",
"x11",
] }
bevy_egui = "0.25"
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"