summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2017-02-18 15:05:47 -0500
committerAndrew Gallant <jamslam@gmail.com>2017-02-18 15:06:20 -0500
commit8ac5bc0147b1e75d82cd7038ae07e296a272285e (patch)
tree4ec1329cf8215513dcb8528279352ec01ec6121b
parentcf750a190fcea9cabe16cd1bef4b21f62929a370 (diff)
Remove Windows deps from ripgrep proper.
All Windows specific code has been (mostly) pushed out of ripgrep and into its constituent libraries.
-rw-r--r--Cargo.toml4
-rw-r--r--src/main.rs4
2 files changed, 0 insertions, 8 deletions
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;