| # 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 = "2021" |
| rust-version = "1.64" |
| name = "evdev" |
| version = "0.13.1" |
| authors = ["Corey Richardson <corey@octayn.net>"] |
| build = false |
| autolib = false |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| description = "evdev interface for Linux" |
| documentation = "https://docs.rs/evdev" |
| readme = "README.md" |
| license = "Apache-2.0 OR MIT" |
| repository = "https://github.com/cmr/evdev" |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| rustdoc-args = [ |
| "--cfg", |
| "docsrs", |
| ] |
| |
| [features] |
| serde = ["dep:serde"] |
| stream-trait = [ |
| "tokio", |
| "futures-core", |
| ] |
| tokio = ["dep:tokio"] |
| |
| [lib] |
| name = "evdev" |
| path = "src/lib.rs" |
| |
| [[example]] |
| name = "_pick_device" |
| path = "examples/_pick_device.rs" |
| |
| [[example]] |
| name = "blink_keyboard_leds" |
| path = "examples/blink_keyboard_leds.rs" |
| |
| [[example]] |
| name = "evtest" |
| path = "examples/evtest.rs" |
| |
| [[example]] |
| name = "evtest_nonblocking" |
| path = "examples/evtest_nonblocking.rs" |
| |
| [[example]] |
| name = "evtest_tokio" |
| path = "examples/evtest_tokio.rs" |
| required-features = ["tokio"] |
| |
| [[example]] |
| name = "force_feedback" |
| path = "examples/force_feedback.rs" |
| |
| [[example]] |
| name = "virtual_ff" |
| path = "examples/virtual_ff.rs" |
| |
| [[example]] |
| name = "virtual_joystick" |
| path = "examples/virtual_joystick.rs" |
| |
| [[example]] |
| name = "virtual_keyboard" |
| path = "examples/virtual_keyboard.rs" |
| |
| [[example]] |
| name = "virtual_mouse" |
| path = "examples/virtual_mouse.rs" |
| |
| [[test]] |
| name = "virtual_device" |
| path = "tests/virtual_device.rs" |
| |
| [dependencies.bitvec] |
| version = "1.0.0" |
| |
| [dependencies.cfg-if] |
| version = "1.0" |
| |
| [dependencies.futures-core] |
| version = "0.3" |
| optional = true |
| |
| [dependencies.libc] |
| version = "0.2.121" |
| features = ["extra_traits"] |
| |
| [dependencies.nix] |
| version = "0.29" |
| features = [ |
| "ioctl", |
| "fs", |
| "event", |
| ] |
| |
| [dependencies.serde] |
| version = "1.0" |
| features = ["derive"] |
| optional = true |
| |
| [dependencies.tokio] |
| version = "1.17" |
| features = [ |
| "fs", |
| "time", |
| "net", |
| ] |
| optional = true |
| |
| [dev-dependencies.itertools] |
| version = "0.10" |
| |
| [dev-dependencies.tokio] |
| version = "1.17" |
| features = [ |
| "macros", |
| "rt-multi-thread", |
| "time", |
| ] |