[package]
edition = "2024"
rust-version = "1.85"
name = "kbd-winit"
version = "0.1.0"
authors = ["Josh Thomas <josh@joshthomas.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "winit bridge for kbd — converts winit key events and modifiers to kbd types."
readme = "README.md"
keywords = [
"keyboard",
"winit",
"hotkey",
"keybinding",
]
categories = ["gui"]
license-file = "LICENSE"
repository = "https://github.com/joshuadavidthomas/kbd"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "kbd_winit"
path = "src/lib.rs"
[[example]]
name = "winit"
path = "examples/winit.rs"
[[test]]
name = "public_api"
path = "tests/public_api.rs"
[dependencies.kbd]
version = "0.1.0"
[dependencies.winit]
version = "0.30"
features = [
"rwh_06",
"x11",
"wayland",
]
default-features = false
[dev-dependencies.softbuffer]
version = "0.4"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"