Skip to content

Commit 5ba8665

Browse files
Remove bevy_input_focus from bevy_a11y (#18483)
# Objective - Compiling `bevy_a11y` without default features fails because you need to select a floating point backed. But you actually don't need it, this requirement is from an unused linkage to `bevy_input_focus` ## Solution - Remove link ## Testing - CI --------- Co-authored-by: François Mockers <[email protected]>
1 parent a8568f7 commit 5ba8665

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

crates/bevy_a11y/Cargo.toml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,48 +18,32 @@ bevy_reflect = [
1818
"dep:bevy_reflect",
1919
"bevy_app/bevy_reflect",
2020
"bevy_ecs/bevy_reflect",
21-
"bevy_input_focus/bevy_reflect",
2221
]
2322

2423
## Adds serialization support through `serde`.
25-
serialize = [
26-
"dep:serde",
27-
"bevy_ecs/serialize",
28-
"bevy_input_focus/serialize",
29-
"accesskit/serde",
30-
]
24+
serialize = ["dep:serde", "bevy_ecs/serialize", "accesskit/serde"]
3125

3226
# Platform Compatibility
3327

3428
## Allows access to the `std` crate. Enabling this feature will prevent compilation
3529
## on `no_std` targets, but provides access to certain additional features on
3630
## supported platforms.
37-
std = [
38-
"bevy_app/std",
39-
"bevy_ecs/std",
40-
"bevy_reflect/std",
41-
"bevy_input_focus/std",
42-
]
31+
std = ["bevy_app/std", "bevy_ecs/std", "bevy_reflect/std"]
4332

4433
## `critical-section` provides the building blocks for synchronization primitives
4534
## on all platforms, including `no_std`.
4635
critical-section = [
4736
"bevy_app/critical-section",
4837
"bevy_ecs/critical-section",
4938
"bevy_reflect?/critical-section",
50-
"bevy_input_focus/critical-section",
5139
]
5240

53-
## Uses the `libm` maths library instead of the one provided in `std` and `core`.
54-
libm = ["bevy_input_focus/libm"]
55-
5641
[dependencies]
5742
# bevy
5843
bevy_app = { path = "../bevy_app", version = "0.16.0-dev", default-features = false }
5944
bevy_derive = { path = "../bevy_derive", version = "0.16.0-dev" }
6045
bevy_ecs = { path = "../bevy_ecs", version = "0.16.0-dev", default-features = false }
6146
bevy_reflect = { path = "../bevy_reflect", version = "0.16.0-dev", default-features = false, optional = true }
62-
bevy_input_focus = { path = "../bevy_input_focus", version = "0.16.0-dev", default-features = false }
6347

6448
# other
6549
accesskit = { version = "0.17", default-features = false }

crates/bevy_internal/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ critical-section = [
329329

330330
# Uses the `libm` maths library instead of the one provided in `std` and `core`.
331331
libm = [
332-
"bevy_a11y?/libm",
333332
"bevy_color?/libm",
334333
"bevy_input/libm",
335334
"bevy_input_focus?/libm",

0 commit comments

Comments
 (0)