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
36 lines
853 B
TOML
36 lines
853 B
TOML
[package]
|
|
name = "grep-searcher"
|
|
version = "0.1.1" #:version
|
|
authors = ["Andrew Gallant <jamslam@gmail.com>"]
|
|
description = """
|
|
Fast line oriented regex searching as a library.
|
|
"""
|
|
documentation = "https://docs.rs/grep-searcher"
|
|
homepage = "https://github.com/BurntSushi/ripgrep"
|
|
repository = "https://github.com/BurntSushi/ripgrep"
|
|
readme = "README.md"
|
|
keywords = ["regex", "grep", "egrep", "search", "pattern"]
|
|
license = "Unlicense/MIT"
|
|
|
|
[dependencies]
|
|
bytecount = "0.3.2"
|
|
encoding_rs = "0.8.6"
|
|
encoding_rs_io = "0.1.3"
|
|
grep-matcher = { version = "0.1.1", path = "../grep-matcher" }
|
|
log = "0.4.5"
|
|
memchr = "2.0.2"
|
|
memmap = "0.6.2"
|
|
|
|
[dev-dependencies]
|
|
grep-regex = { version = "0.1.1", path = "../grep-regex" }
|
|
regex = "1.0.5"
|
|
|
|
[features]
|
|
avx-accel = [
|
|
"bytecount/avx-accel",
|
|
]
|
|
simd-accel = [
|
|
"bytecount/simd-accel",
|
|
"encoding_rs/simd-accel",
|
|
]
|