Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/crates/bevy_input_focus/Cargo.toml
9395 views
1
[package]
2
name = "bevy_input_focus"
3
version = "0.19.0-dev"
4
edition = "2024"
5
description = "Keyboard focus management"
6
homepage = "https://bevy.org"
7
repository = "https://github.com/bevyengine/bevy"
8
license = "MIT OR Apache-2.0"
9
keywords = ["bevy"]
10
rust-version = "1.85.0"
11
12
[features]
13
default = [
14
"std",
15
"bevy_reflect",
16
"bevy_ecs/async_executor",
17
"gamepad",
18
"keyboard",
19
"mouse",
20
]
21
gamepad = ["bevy_input/gamepad"]
22
keyboard = ["bevy_input/keyboard"]
23
mouse = ["bevy_input/mouse"]
24
25
# Functionality
26
27
## Adds runtime reflection support using `bevy_reflect`.
28
bevy_reflect = [
29
"dep:bevy_reflect",
30
"bevy_app/bevy_reflect",
31
"bevy_ecs/bevy_reflect",
32
"bevy_math/bevy_reflect",
33
"bevy_input/bevy_reflect",
34
"bevy_window/bevy_reflect",
35
]
36
37
## Adds serialization support through `serde`.
38
serialize = [
39
"bevy_ecs/serialize",
40
"bevy_math/serialize",
41
"bevy_input/serialize",
42
"bevy_window/serialize",
43
]
44
45
# Platform Compatibility
46
47
## Allows access to the `std` crate. Enabling this feature will prevent compilation
48
## on `no_std` targets, but provides access to certain additional features on
49
## supported platforms.
50
std = [
51
"bevy_app/std",
52
"bevy_ecs/std",
53
"bevy_math/std",
54
"bevy_reflect/std",
55
"bevy_input/std",
56
"bevy_window/std",
57
]
58
59
## `critical-section` provides the building blocks for synchronization primitives
60
## on all platforms, including `no_std`.
61
critical-section = [
62
"bevy_app/critical-section",
63
"bevy_ecs/critical-section",
64
"bevy_reflect?/critical-section",
65
"bevy_input/critical-section",
66
]
67
68
## Uses the `libm` maths library instead of the one provided in `std` and `core`.
69
libm = ["bevy_math/libm", "bevy_window/libm"]
70
71
[dependencies]
72
# bevy
73
bevy_app = { path = "../bevy_app", version = "0.19.0-dev", default-features = false }
74
bevy_ecs = { path = "../bevy_ecs", version = "0.19.0-dev", default-features = false }
75
bevy_input = { path = "../bevy_input", version = "0.19.0-dev", default-features = false }
76
bevy_math = { path = "../bevy_math", version = "0.19.0-dev", default-features = false }
77
bevy_picking = { path = "../bevy_picking", version = "0.19.0-dev", default-features = false, optional = true }
78
bevy_window = { path = "../bevy_window", version = "0.19.0-dev", default-features = false }
79
bevy_reflect = { path = "../bevy_reflect", version = "0.19.0-dev", features = [
80
"glam",
81
], default-features = false, optional = true }
82
83
# other
84
thiserror = { version = "2", default-features = false }
85
log = { version = "0.4", default-features = false }
86
87
[lints]
88
workspace = true
89
90
[package.metadata.docs.rs]
91
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
92
all-features = true
93
94