diff --git a/Cargo.lock b/Cargo.lock index de1a56d..74296bf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -796,7 +796,6 @@ dependencies = [ "serde", "smallvec", "tokio", - "winapi", ] [[package]] diff --git a/rkvm-input/Cargo.toml b/rkvm-input/Cargo.toml index ab51093..311127f 100644 --- a/rkvm-input/Cargo.toml +++ b/rkvm-input/Cargo.toml @@ -10,16 +10,10 @@ edition = "2018" serde = { version = "1.0.117", features = ["derive"] } futures = "0.3.8" smallvec = { version = "1.10.0", features = ["serde"] } - -[target.'cfg(target_os = "linux")'.dependencies] inotify = "0.10.0" tokio = { version = "1.0.1", features = ["fs", "io-util", "net", "sync", "rt", "time", "macros"] } libc = "0.2.77" -[target.'cfg(target_os = "windows")'.dependencies] -winapi = { version = "0.3.9", features = ["winuser"] } -tokio = { version = "1.0.1", features = ["sync"] } - [build-dependencies] bindgen = "0.65.1" pkg-config = "0.3.19"