summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2017-01-15 16:32:30 -0500
committerAndrew Gallant <jamslam@gmail.com>2017-01-15 16:32:30 -0500
commitf5a2d022ecd16dfe67ea829267e9220136f20167 (patch)
tree0d0683b39a2f352b1dee63bed4216c486ed28b20 /src/main.rs
parentb1d1cd2366ba8d3e40a312ba79ff7078a97165f5 (diff)
Replace internal atty module with atty crate.
This removes all use of explicit unsafe in ripgrep proper except for one: accessing the contents of a memory map. (Which may never go away.)
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 735298f9..66860d14 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,4 @@
+extern crate atty;
extern crate bytecount;
#[macro_use]
extern crate clap;
@@ -46,7 +47,6 @@ macro_rules! eprintln {
mod app;
mod args;
-mod atty;
mod pathutil;
mod printer;
mod search_buffer;