1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
https://github.com/BurntSushi/ripgrep/commit/968491f8e93e
--- Cargo.toml.orig 2018-09-07 18:07:52 UTC
+++ Cargo.toml
@@ -72,7 +72,6 @@ serde = "1.0.77"
serde_derive = "1.0.77"
[features]
-avx-accel = ["grep/avx-accel"]
simd-accel = ["grep/simd-accel"]
pcre2 = ["grep/pcre2"]
--- grep-searcher/Cargo.toml.orig 2018-09-07 18:07:52 UTC
+++ grep-searcher/Cargo.toml
@@ -13,7 +13,7 @@ keywords = ["regex", "grep", "egrep", "search", "patte
license = "Unlicense/MIT"
[dependencies]
-bytecount = "0.3.2"
+bytecount = "0.5"
encoding_rs = "0.8.6"
encoding_rs_io = "0.1.2"
grep-matcher = { version = "0.1.1", path = "../grep-matcher" }
@@ -26,10 +26,8 @@ grep-regex = { version = "0.1.1", path = "../grep-rege
regex = "1.0.5"
[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 = []
--- grep/Cargo.toml.orig 2018-09-07 18:07:52 UTC
+++ grep/Cargo.toml
@@ -32,6 +32,8 @@ default-features = false
features = ["suggestions"]
[features]
-avx-accel = ["grep-searcher/avx-accel"]
simd-accel = ["grep-searcher/simd-accel"]
pcre2 = ["grep-pcre2"]
+
+# This feature is DEPRECATED. Runtime dispatch is used for SIMD now.
+avx-accel = []
|