# 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 = "rdev" version = "0.5.3" authors = ["Nicolas Patry "] description = "Listen and send keyboard and mouse events on Windows, Linux and MacOS." homepage = "https://github.com/Narsil/rdev" documentation = "https://docs.rs/rdev/" readme = "README.md" keywords = [ "input", "mouse", "testing", "keyboard", "automation", ] categories = [ "development-tools::testing", "api-bindings", "hardware-support", ] license = "MIT" repository = "https://github.com/Narsil/rdev" [[example]] name = "serialize" required-features = ["serialize"] [[example]] name = "grab" required-features = ["unstable_grab"] [[example]] name = "tokio_channel" required-features = ["unstable_grab"] [[test]] name = "grab" path = "tests/grab.rs" required-features = ["unstable_grab"] [dependencies.lazy_static] version = "1.4" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.serial_test] version = "0.4" [dev-dependencies.tokio] version = "1.5" features = [ "sync", "macros", "rt-multi-thread", ] [features] serialize = ["serde"] unstable_grab = [ "evdev-rs", "epoll", "inotify", ] [target."cfg(target_os = \"linux\")".dependencies.epoll] version = "4.1.0" optional = true [target."cfg(target_os = \"linux\")".dependencies.evdev-rs] version = "0.4.0" optional = true [target."cfg(target_os = \"linux\")".dependencies.inotify] version = "0.8.2" optional = true default-features = false [target."cfg(target_os = \"linux\")".dependencies.libc] version = "0.2" [target."cfg(target_os = \"linux\")".dependencies.x11] version = "2.18" features = [ "xlib", "xrecord", "xinput", ] [target."cfg(target_os = \"macos\")".dependencies.cocoa] version = "0.22" [target."cfg(target_os = \"macos\")".dependencies.core-foundation] version = "0.7" [target."cfg(target_os = \"macos\")".dependencies.core-foundation-sys] version = "0.7" [target."cfg(target_os = \"macos\")".dependencies.core-graphics] version = "0.19.0" features = ["highsierra"] [target."cfg(target_os = \"windows\")".dependencies.winapi] version = "0.3" features = [ "winuser", "errhandlingapi", "processthreadsapi", ]