From 4c97233da292b0cc3cba3abc5f4f0197fdd5a7e1 Mon Sep 17 00:00:00 2001 From: Sean Young Date: Sat, 11 May 2024 19:04:32 +0100 Subject: [PATCH] Only needed for linux Signed-off-by: Sean Young --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b835e27..578e929 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,8 +13,6 @@ exclude = [ "/.git*", "/testdata", "/tests", "/TODO" ] clap = { version = "4.5", features = [ "derive" ] } toml = "0.8" itertools = "0.12" -evdev = { git = "https://github.com/emberian/evdev" } -nix = { version = "0.28", features = [ "fs", "ioctl", "poll" ] } bitflags = "2.5" num-integer = "0.1" terminal_size = "0.3" @@ -22,6 +20,8 @@ log = "0.4" peg = "0.8" [target.'cfg(target_os = "linux")'.dependencies] +evdev = { git = "https://github.com/emberian/evdev" } +nix = { version = "0.28", features = [ "fs", "ioctl", "poll" ] } aya = { git = "https://github.com/aya-rs/aya.git" } irp = { version = "0.3.3", path = "irp", features = [ "bpf" ] }