diff options
author | Andrew Gallant <jamslam@gmail.com> | 2019-01-19 09:52:10 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2019-01-19 10:44:30 -0500 |
commit | 968491f8e93e506b224ee4c85bee85f7ead0e5d5 (patch) | |
tree | f0911fedefe30879252f6e056717749349100966 /grep-searcher | |
parent | 63b0f31a221e0d065acbdd8ab43cbc3aef463b8e (diff) |
deps: update to bytecount 0.5
bytecount now uses runtime dispatch for enabling SIMD, which means we can
no longer need the avx-accel features. We remove it from ripgrep since the
next release will be a minor version bump, but leave them as no-ops for
the crates that previously used it.
Diffstat (limited to 'grep-searcher')
-rw-r--r-- | grep-searcher/Cargo.toml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/grep-searcher/Cargo.toml b/grep-searcher/Cargo.toml index bb1e50d6..3ec2886a 100644 --- a/grep-searcher/Cargo.toml +++ b/grep-searcher/Cargo.toml @@ -13,7 +13,7 @@ keywords = ["regex", "grep", "egrep", "search", "pattern"] license = "Unlicense/MIT" [dependencies] -bytecount = "0.3.2" +bytecount = "0.5" encoding_rs = "0.8.14" encoding_rs_io = "0.1.3" grep-matcher = { version = "0.1.1", path = "../grep-matcher" } @@ -26,10 +26,8 @@ grep-regex = { version = "0.1.1", path = "../grep-regex" } regex = "1.1" [features] -avx-accel = [ - "bytecount/avx-accel", -] -simd-accel = [ - "bytecount/simd-accel", - "encoding_rs/simd-accel", -] +default = ["bytecount/runtime-dispatch-simd"] +simd-accel = ["encoding_rs/simd-accel"] + +# This feature is DEPRECATED. Runtime dispatch is used for SIMD now. +avx-accel = [] |