evdevil 0.4.1

Bindings to Linux' input device APIs: evdev and uinput
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 = "2024"
rust-version = "1.85"
name = "evdevil"
version = "0.4.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bindings to Linux' input device APIs: evdev and uinput"
readme = "README.md"
keywords = [
    "gamepad",
    "joystick",
    "keyboard",
    "mouse",
    "touchscreen",
]
categories = [
    "os::linux-apis",
    "os::freebsd-apis",
    "hardware-support",
]
license = "0BSD"
repository = "https://github.com/SludgePhD/evdevil"

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

[features]
async-io = ["dep:async-io"]
serde = ["dep:serde"]
tokio = ["dep:tokio"]

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "hotplug"
path = "tests/hotplug.rs"
harness = false

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

[[test]]
name = "loopback"
path = "tests/loopback/main.rs"

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

[dependencies.async-io]
version = "2.4.1"
optional = true
default-features = false

[dependencies.libc]
version = "0.2.172"

[dependencies.log]
version = "0.4.27"

[dependencies.serde]
version = "1.0.219"
optional = true

[dependencies.tokio]
version = "1.46.1"
features = ["net"]
optional = true
default-features = false

[dependencies.uoctl]
version = "1.0.1"

[dev-dependencies.csv]
version = "1.3.1"

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

[dev-dependencies.postcard]
version = "1.1"
features = ["alloc"]

[dev-dependencies.serde]
version = "1.0.219"

[dev-dependencies.tokio]
version = "1"
features = ["rt"]
default-features = false