diff --git a/Cargo.toml b/Cargo.toml index d7326630..6773ba7c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,10 +42,6 @@ regex = "0.2.1" same-file = "0.1.1" termcolor = { version = "0.2.0", path = "termcolor" } -[target.'cfg(windows)'.dependencies] -kernel32-sys = "0.2.2" -winapi = "0.2.8" - [build-dependencies] clap = "2.18" lazy_static = "0.2" diff --git a/src/main.rs b/src/main.rs index 66860d14..47ce5b91 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,8 +5,6 @@ extern crate clap; extern crate env_logger; extern crate grep; extern crate ignore; -#[cfg(windows)] -extern crate kernel32; #[macro_use] extern crate lazy_static; extern crate libc; @@ -18,8 +16,6 @@ extern crate num_cpus; extern crate regex; extern crate same_file; extern crate termcolor; -#[cfg(windows)] -extern crate winapi; use std::error::Error; use std::process;