feat(keyboard): add layouts and their variants to the xkb config

This commit is contained in:
Michael Aaron Murphy 2024-03-29 14:18:18 +01:00 committed by Michael Murphy
parent 2b88275af8
commit 42989b68a7
6 changed files with 308 additions and 69 deletions

23
Cargo.lock generated
View file

@ -1330,6 +1330,7 @@ dependencies = [
"tracing",
"tracing-subscriber",
"url",
"xkb-data",
]
[[package]]
@ -4894,6 +4895,18 @@ dependencies = [
"serde_derive",
]
[[package]]
name = "serde-xml-rs"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb3aa78ecda1ebc9ec9847d5d3aba7d618823446a049ba2491940506da6e2782"
dependencies = [
"log",
"serde",
"thiserror",
"xml-rs",
]
[[package]]
name = "serde_derive"
version = "1.0.197"
@ -6585,6 +6598,16 @@ dependencies = [
"wayland-protocols-wlr",
]
[[package]]
name = "xkb-data"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "294a599fc9e6a43c9f44f5d6c560b89fd751be413717442b31c17fa367d3c764"
dependencies = [
"serde",
"serde-xml-rs",
]
[[package]]
name = "xkbcommon"
version = "0.7.0"