[package]
edition = "2024"
name = "bevy_fix_cursor_unlock_web"
version = "0.3.0"
authors = ["Jan Hohenheim <jan@hohenheim.ch>"]
build = false
exclude = ["./assets/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tiny plugin that fixes Bevy not reporting when the cursor is unlocked on web"
readme = false
keywords = [
"bevy",
"cursor",
"fix",
"web",
]
categories = ["game-development"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/janhohenheim/bevy_fix_cursor_unlock_web"
[lib]
name = "bevy_fix_cursor_unlock_web"
path = "src/lib.rs"
[[example]]
name = "print_grab_mode"
path = "examples/print_grab_mode.rs"
[[example]]
name = "print_key_press"
path = "examples/print_key_press.rs"
[dependencies.bevy_app]
version = "0.18.0"
[dependencies.bevy_ecs]
version = "0.18.0"
[dependencies.bevy_window]
version = "0.18.0"
[dev-dependencies.bevy]
version = "0.18.0"
[dev-dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]
[target.wasm32-unknown-unknown.dependencies.web-sys]
version = "0.3.85"
features = [
"Window",
"Document",
"Event",
"Element",
]