enigo 0.4.2

Cross-platform (Linux, Windows, macOS & BSD) library to simulate keyboard and mouse events
Documentation
[dependencies.log]
version = "0.4"

[dependencies.serde]
features = ["derive"]
optional = true
version = "1"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.mouse_position]
version = "0.1"

[dev-dependencies.rdev]
version = "0.5"

[dev-dependencies.ron]
version = "0.10"

[dev-dependencies.serde]
features = ["derive"]
version = "1"

[dev-dependencies.strum]
version = "0.27"

[dev-dependencies.strum_macros]
version = "0.27"

[dev-dependencies.tungstenite]
version = "0.26"

[dev-dependencies.url]
version = "2"

[dev-dependencies.webbrowser]
version = "1.0"

[features]
default = ["xdo"]
libei = ["dep:reis", "dep:ashpd", "dep:tokio", "dep:nom"]
serde = ["dep:serde"]
wayland = ["dep:wayland-client", "dep:wayland-protocols-misc", "dep:wayland-protocols-wlr", "dep:tempfile", "dep:nom"]
x11rb = ["dep:x11rb", "dep:nom"]
xdo = []

[lib]
name = "enigo"
path = "src/lib.rs"

[package]
authors = ["pentamassiv <pentamassiv@posteo.de>", "Dustin Bensing <dustin.bensing@googlemail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::testing", "api-bindings", "hardware-support", "os", "simulation"]
description = "Cross-platform (Linux, Windows, macOS & BSD) library to simulate keyboard and mouse events"
documentation = "https://docs.rs/enigo/"
edition = "2024"
exclude = [".github", "examples", ".gitignore", "rustfmt.toml"]
homepage = "https://github.com/enigo-rs/enigo"
keywords = ["simulate", "input", "mouse", "keyboard", "automation"]
license = "MIT"
name = "enigo"
readme = "README.md"
repository = "https://github.com/enigo-rs/enigo"
rust-version = "1.85"
version = "0.4.2"

[package.metadata.docs.rs]
all-features = true

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.ashpd]
optional = true
version = "0.11"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.libc]
version = "0.2"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.nom]
optional = true
version = "8.0"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.reis]
optional = true
version = "0.5"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.tempfile]
optional = true
version = "3"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.tokio]
features = ["rt", "rt-multi-thread"]
optional = true
version = "1.23.1"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.wayland-client]
optional = true
version = "0.31"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.wayland-protocols-misc]
features = ["client"]
optional = true
version = "0.3"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.wayland-protocols-wlr]
features = ["client"]
optional = true
version = "0.3"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.x11rb]
features = ["randr", "xinput", "xtest"]
optional = true
version = "0.13"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.xkbcommon]
version = "0.8"

[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.xkeysym]
version = "0.2"

[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"

[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
features = ["highsierra"]
version = "0.25"

[target.'cfg(target_os = "macos")'.dependencies.foreign-types-shared]
version = "0.3"

[target.'cfg(target_os = "macos")'.dependencies.objc2]
features = ["relax-void-encoding"]
version = "0.6"

[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
default-features = false
features = ["std", "NSEvent", "NSGraphicsContext"]
version = "0.3"

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
default-features = false
features = ["std", "objc2-core-foundation", "NSGeometry"]
version = "0.3"

[target.'cfg(target_os = "windows")'.dependencies.windows]
features = ["Win32_Foundation", "Win32_UI_TextServices", "Win32_UI_WindowsAndMessaging", "Win32_UI_Input_KeyboardAndMouse", "Win32_UI_HiDpi"]
version = "0.61"

[[test]]
name = "integration_browser"
path = "tests/integration_browser.rs"