summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-07-21 20:36:32 -0400
committerAndrew Gallant <jamslam@gmail.com>2018-07-21 20:36:32 -0400
commit209a125ea25615e8fa605c844f8cbcca8c672208 (patch)
tree640f6abf39ad6cae599524bb529aa7fedd03c6c6 /src/main.rs
parent090216cf002a579c987df76125fcdcb97478d48e (diff)
ripgrep: replace decoder with encoding_rs_io
This commit mostly moves the transcoder implementation to its own crate: https://github.com/BurntSushi/encoding_rs_io The new crate adds clear documentation and cleans up the implementation to fully implement the contract of io::Read.
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 ab0e4118..73bc8c23 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -3,6 +3,7 @@ extern crate bytecount;
#[macro_use]
extern crate clap;
extern crate encoding_rs;
+extern crate encoding_rs_io;
extern crate globset;
extern crate grep;
extern crate ignore;
@@ -41,7 +42,6 @@ macro_rules! errored {
mod app;
mod args;
mod config;
-mod decoder;
mod decompressor;
mod preprocessor;
mod logger;