summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/main.rs b/src/main.rs
index 4a4ac5f0..bcadc8a1 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,7 +1,5 @@
-extern crate atty;
#[macro_use]
extern crate clap;
-extern crate globset;
extern crate grep;
extern crate ignore;
#[macro_use]
@@ -10,14 +8,11 @@ extern crate lazy_static;
extern crate log;
extern crate num_cpus;
extern crate regex;
-extern crate same_file;
#[macro_use]
extern crate serde_json;
extern crate termcolor;
-#[cfg(windows)]
-extern crate winapi_util;
-use std::io;
+use std::io::{self, Write};
use std::process;
use std::sync::{Arc, Mutex};
use std::time::Instant;
@@ -33,13 +28,10 @@ mod messages;
mod app;
mod args;
mod config;
-mod decompressor;
-mod preprocessor;
mod logger;
mod path_printer;
mod search;
mod subject;
-mod unescape;
type Result<T> = ::std::result::Result<T, Box<::std::error::Error>>;