From 51fc94f6bd4a31f819b11f186c9f57ade51601ef Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Tue, 24 Jan 2017 10:09:09 -0800 Subject: [PATCH] Build winapi crates on Windows only --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b432d3b..7808405 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,11 +14,11 @@ module, with Rust-specific extensions. [dependencies] libc = "0.2" -kernel32-sys = "0.2.2" -winapi = "0.2.8" [target.'cfg(windows)'.dependencies] crossbeam = "0.2.10" +kernel32-sys = "0.2.2" +winapi = "0.2.8" [dev-dependencies] tempdir = "0.3.5"