From 8ac5bc0147b1e75d82cd7038ae07e296a272285e Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 18 Feb 2017 15:05:47 -0500 Subject: [PATCH] Remove Windows deps from ripgrep proper. All Windows specific code has been (mostly) pushed out of ripgrep and into its constituent libraries. --- Cargo.toml | 4 ---- src/main.rs | 4 ---- 2 files changed, 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d732663..6773ba7 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 66860d1..47ce5b9 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;