kbd-global 0.1.0

Global hotkey runtime for kbd — threaded engine, device management, and backend selection for Linux
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 = "kbd-global"
version = "0.1.0"
authors = ["Josh Thomas <josh@joshthomas.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Global hotkey runtime for kbd — threaded engine, device management, and backend selection for Linux"
readme = "README.md"
keywords = [
    "hotkey",
    "global-shortcut",
    "keybinding",
    "wayland",
    "input",
]
categories = [
    "os::linux-apis",
    "api-bindings",
]
license-file = "LICENSE"
repository = "https://github.com/joshuadavidthomas/kbd"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
grab = []
serde = [
    "dep:serde",
    "kbd/serde",
]

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

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

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

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

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

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

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

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

[dependencies.kbd]
version = "0.1.0"

[dependencies.kbd-evdev]
version = "0.1.0"

[dependencies.libc]
version = "0.2"

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

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.evdev]
version = "0.13"

[dev-dependencies.kbd-evdev]
version = "0.1.0"
features = ["testing"]

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

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

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"