openloaf-rdev 0.5.1

OpenLoaf fork of rdev — listen and send keyboard / mouse events on Windows, Linux and MacOS. Adds macOS event tap auto re-enable on kCGEventTapDisabledByTimeout / ByUserInput so a temporarily disabled tap doesn't silently drop the next batch of key events.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "openloaf-rdev"
version = "0.5.1"
authors = [
    "Nicolas Patry <patry.nicolas@protonmail.com>",
    "OpenLoaf <support@openloaf.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenLoaf fork of rdev — listen and send keyboard / mouse events on Windows, Linux and MacOS. Adds macOS event tap auto re-enable on kCGEventTapDisabledByTimeout / ByUserInput so a temporarily disabled tap doesn't silently drop the next batch of key events."
homepage = "https://github.com/OpenLoaf/rdev"
documentation = "https://docs.rs/openloaf-rdev/"
readme = "README.md"
keywords = [
    "input",
    "mouse",
    "testing",
    "keyboard",
    "automation",
]
categories = [
    "development-tools::testing",
    "api-bindings",
    "hardware-support",
]
license = "MIT"
repository = "https://github.com/OpenLoaf/rdev"

[features]
serialize = ["serde"]

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

[[example]]
name = "channel"
path = "examples/channel.rs"

[[example]]
name = "codes_conv"
path = "examples/codes_conv.rs"

[[example]]
name = "display"
path = "examples/display.rs"

[[example]]
name = "grab"
path = "examples/grab.rs"

[[example]]
name = "keyboard_state"
path = "examples/keyboard_state.rs"

[[example]]
name = "keycode"
path = "examples/keycode.rs"

[[example]]
name = "listen"
path = "examples/listen.rs"

[[example]]
name = "serialize"
path = "examples/serialize.rs"
required-features = ["serialize"]

[[example]]
name = "simulate"
path = "examples/simulate.rs"

[[example]]
name = "test"
path = "examples/test.rs"

[[example]]
name = "tokio_channel"
path = "examples/tokio_channel.rs"
required-features = ["unstable_grab"]

[[test]]
name = "grab"
path = "tests/grab.rs"
required-features = ["unstable_grab"]

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

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

[dependencies.enum-map]
version = "2.4.0"

[dependencies.lazy_static]
version = "1.4"

[dependencies.log]
version = "0.4"

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

[dependencies.strum]
version = "0.24.1"

[dependencies.strum_macros]
version = "0.24"

[dependencies.widestring]
version = "1.0.2"

[dev-dependencies.lazy_static]
version = "1.4"

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

[dev-dependencies.serial_test]
version = "0.8.0"

[dev-dependencies.tokio]
version = "1.5"
features = [
    "sync",
    "macros",
    "rt-multi-thread",
]

[target.'cfg(target_os = "linux")'.dependencies.epoll]
version = "4.1.0"

[target.'cfg(target_os = "linux")'.dependencies.inotify]
version = "0.10.0"
default-features = false

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"

[target.'cfg(target_os = "linux")'.dependencies.mio]
version = "0.8.4"
features = [
    "os-poll",
    "os-ext",
]

[target.'cfg(target_os = "linux")'.dependencies.x11]
version = "2.18"
features = [
    "xlib",
    "xrecord",
    "xinput",
]

[target.'cfg(target_os = "macos")'.dependencies.cocoa]
version = "0.24.0"

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

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

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

[target.'cfg(target_os = "macos")'.dependencies.dispatch]
version = "0.2"

[target.'cfg(target_os = "windows")'.dependencies.winapi]
version = "0.3"
features = [
    "winuser",
    "errhandlingapi",
    "processthreadsapi",
]