Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/crates/bevy_input_focus/Cargo.toml
6592 views
1
[package]
2
name = "bevy_input_focus"
3
version = "0.17.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 = ["std", "bevy_reflect", "bevy_ecs/async_executor"]
14
15
# Functionality
16
17
## Adds runtime reflection support using `bevy_reflect`.
18
bevy_reflect = [
19
"dep:bevy_reflect",
20
"bevy_app/bevy_reflect",
21
"bevy_ecs/bevy_reflect",
22
"bevy_math/bevy_reflect",
23
"bevy_input/bevy_reflect",
24
"bevy_window/bevy_reflect",
25
]
26
27
## Adds serialization support through `serde`.
28
serialize = [
29
"bevy_ecs/serialize",
30
"bevy_math/serialize",
31
"bevy_input/serialize",
32
"bevy_window/serialize",
33
]
34
35
# Platform Compatibility
36
37
## Allows access to the `std` crate. Enabling this feature will prevent compilation
38
## on `no_std` targets, but provides access to certain additional features on
39
## supported platforms.
40
std = [
41
"bevy_app/std",
42
"bevy_ecs/std",
43
"bevy_math/std",
44
"bevy_reflect/std",
45
"bevy_input/std",
46
"bevy_window/std",
47
]
48
49
## `critical-section` provides the building blocks for synchronization primitives
50
## on all platforms, including `no_std`.
51
critical-section = [
52
"bevy_app/critical-section",
53
"bevy_ecs/critical-section",
54
"bevy_reflect?/critical-section",
55
"bevy_input/critical-section",
56
]
57
58
## Uses the `libm` maths library instead of the one provided in `std` and `core`.
59
libm = ["bevy_math/libm", "bevy_window/libm"]
60
61
[dependencies]
62
# bevy
63
bevy_app = { path = "../bevy_app", version = "0.17.0-dev", default-features = false }
64
bevy_ecs = { path = "../bevy_ecs", version = "0.17.0-dev", default-features = false }
65
bevy_input = { path = "../bevy_input", version = "0.17.0-dev", default-features = false }
66
bevy_math = { path = "../bevy_math", version = "0.17.0-dev", default-features = false }
67
bevy_picking = { path = "../bevy_picking", version = "0.17.0-dev", default-features = false }
68
bevy_window = { path = "../bevy_window", version = "0.17.0-dev", default-features = false }
69
bevy_reflect = { path = "../bevy_reflect", version = "0.17.0-dev", features = [
70
"glam",
71
], default-features = false, optional = true }
72
73
# other
74
thiserror = { version = "2", default-features = false }
75
log = { version = "0.4", default-features = false }
76
77
[lints]
78
workspace = true
79
80
[package.metadata.docs.rs]
81
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
82
all-features = true
83
84