diff options
author | Andrew Gallant <jamslam@gmail.com> | 2018-09-24 20:51:43 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-09-25 16:56:04 -0400 |
commit | ba533f390edbad39a334c3fb8b56f839642292ee (patch) | |
tree | 61e08c0e67bc22fce2766fc92c77e4a1af6114a8 /grep-searcher | |
parent | ba503eb6775f0031c684a3bfeeb1c9cb07601dd6 (diff) |
grep-searcher: update to encoding_rs_io 0.1.3
This update includes a work-around for a presumed bug in encoding_rs
that causes a panic:
https://github.com/hsivonen/encoding_rs/issues/34
Specifically, to reproduce this in ripgrep, one can run the following:
$ curl -LO https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.1.tar.gz
$ tar xf ruby-2.5.1.tar.gz
$ rg ZZZZZ ruby-2.5.1/test/rexml/data/t63-2.svg
thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 1'
Fixes #1052
Diffstat (limited to 'grep-searcher')
-rw-r--r-- | grep-searcher/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grep-searcher/Cargo.toml b/grep-searcher/Cargo.toml index fb0750b8..d32f1349 100644 --- a/grep-searcher/Cargo.toml +++ b/grep-searcher/Cargo.toml @@ -15,7 +15,7 @@ license = "Unlicense/MIT" [dependencies] bytecount = "0.3.2" encoding_rs = "0.8.6" -encoding_rs_io = "0.1.2" +encoding_rs_io = "0.1.3" grep-matcher = { version = "0.1.1", path = "../grep-matcher" } log = "0.4.5" memchr = "2.0.2" |