Skip to content

Commit

Permalink
make accesskit_unix optional again (#9074)
Browse files Browse the repository at this point in the history
# Objective

- accesskit_unix is not optional anymore

## Solution

- Enable `async-io` feature of `accesskit_winit` only when
`accesskit_unix` is enabled
  • Loading branch information
mockersf authored Jul 8, 2023
1 parent fb4c21e commit a1feab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_winit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ keywords = ["bevy"]
trace = []
wayland = ["winit/wayland", "winit/wayland-csd-adwaita"]
x11 = ["winit/x11"]
accesskit_unix = ["accesskit_winit/accesskit_unix"]
accesskit_unix = ["accesskit_winit/accesskit_unix", "accesskit_winit/async-io"]

[dependencies]
# bevy
Expand All @@ -29,7 +29,7 @@ bevy_tasks = { path = "../bevy_tasks", version = "0.11.0-dev" }

# other
winit = { version = "0.28", default-features = false }
accesskit_winit = { version = "0.14", default-features = false, features = ["async-io"] }
accesskit_winit = { version = "0.14", default-features = false }
approx = { version = "0.5", default-features = false }
raw-window-handle = "0.5"

Expand Down

0 comments on commit a1feab9

Please sign in to comment.