Debian now provides `rust-xkbcommon` v0.5, so let's use this as the base version for our use-case. Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/620>
35 lines
693 B
TOML
35 lines
693 B
TOML
[package]
|
|
name = "rs"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "rs"
|
|
path = "@path@/src/lib.rs"
|
|
crate-type = ["staticlib", "rlib"]
|
|
|
|
# Cargo can't do autodiscovery if Cargo.toml is not in the root.
|
|
[[bin]]
|
|
name = "test_layout"
|
|
path = "@path@/src/bin/test_layout.rs"
|
|
|
|
[[example]]
|
|
name = "test_layout"
|
|
path = "@path@/examples/test_layout.rs"
|
|
|
|
[[example]]
|
|
name = "find_orphan_layouts"
|
|
path = "@path@/examples/find_orphan_layouts.rs"
|
|
|
|
[features]
|
|
glib_v0_14 = []
|
|
zbus_v1_5 = []
|
|
clap_v4 = []
|
|
|
|
# Dependencies which don't change based on build flags
|
|
[dependencies]
|
|
maplit = "1.0.*"
|
|
serde = { version = "1.0.*", features = ["derive"] }
|
|
serde_yaml = "0.8.*"
|
|
# Here is inserted the Cargo.deps file
|