squeekboard-test-layout: correct dependencies and version for clap argument parsing

This commit is contained in:
Mark Müller
2019-12-13 20:46:52 +01:00
parent 53997abc46
commit 3af10285b7
3 changed files with 2 additions and 3 deletions

View File

@ -4,12 +4,12 @@ version = "0.1.0"
[dependencies]
bitflags = "1.0.*"
clap = "2.32.*"
maplit = "1.0.*"
regex = "1.1.*"
serde = { version = "1.0.*", features = ["derive"] }
serde_yaml = "0.8.*"
xkbcommon = { version = "0.4.*", features = ["wayland"] }
clap = "2"
[dependencies.gio]
version = ""

2
debian/control vendored
View File

@ -12,7 +12,7 @@ Build-Depends:
libgtk-3-dev,
libcroco3-dev,
librust-bitflags-1-dev (>= 1.0),
librust-clap-dev,
librust-clap-2+default-dev (>= 2.32),
librust-gio+v2-44-dev,
librust-glib+v2-44-dev,
librust-glib-sys-dev,

View File

@ -7,7 +7,6 @@ use rs::tests::check_layout_file;
fn main() -> () {
let matches = clap_app!(test_layout =>
(name: "squeekboard-test-layout")
(version: env!("CARGO_PKG_VERSION"))
(about: "Test keyboard layout for errors. Returns OK or an error message containing further information.")
(@arg INPUT: +required "Yaml keyboard layout file to test")
).get_matches();