mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-01-29 22:01:04 +02:00
a4387ed491
This brings in aarch64 SIMD support for Teddy[1]. In effect, it means searches that are multiple (but a small number of) literals extracted will likely get much faster on aarch64 (i.e., Apple silicon). For example, from the PR, on my M2 mac mini: $ time rg-before-teddy-aarch64 -i -c 'Sherlock Holmes' OpenSubtitles2018.half.en 3055 real 8.196 user 7.726 sys 0.469 maxmem 5728 MB faults 17 $ time rg-after-teddy-aarch64 -i -c 'Sherlock Holmes' OpenSubtitles2018.half.en 3055 real 1.127 user 0.701 sys 0.425 maxmem 4880 MB faults 13 w00t. [1]: https://github.com/BurntSushi/aho-corasick/pull/129
575 lines
13 KiB
TOML
575 lines
13 KiB
TOML
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
version = 3
|
|
|
|
[[package]]
|
|
name = "aho-corasick"
|
|
version = "1.1.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "0f2135563fb5c609d2b2b87c1e8ce7bc41b0b45430fa9661f457981503dd5bf0"
|
|
dependencies = [
|
|
"memchr",
|
|
]
|
|
|
|
[[package]]
|
|
name = "autocfg"
|
|
version = "1.1.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
|
|
|
[[package]]
|
|
name = "base64"
|
|
version = "0.20.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "0ea22880d78093b0cbe17c89f64a7d457941e65759157ec6cb31a31d652b05e5"
|
|
|
|
[[package]]
|
|
name = "bitflags"
|
|
version = "1.3.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
|
|
[[package]]
|
|
name = "bstr"
|
|
version = "1.6.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "4c2f7349907b712260e64b0afe2f84692af14a454be26187d9df565c7f69266a"
|
|
dependencies = [
|
|
"memchr",
|
|
"regex-automata",
|
|
"serde",
|
|
]
|
|
|
|
[[package]]
|
|
name = "cc"
|
|
version = "1.0.83"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
|
|
dependencies = [
|
|
"jobserver",
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "cfg-if"
|
|
version = "1.0.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
[[package]]
|
|
name = "clap"
|
|
version = "2.34.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
|
|
dependencies = [
|
|
"bitflags",
|
|
"strsim",
|
|
"textwrap",
|
|
"unicode-width",
|
|
]
|
|
|
|
[[package]]
|
|
name = "crossbeam-channel"
|
|
version = "0.5.8"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"
|
|
dependencies = [
|
|
"cfg-if",
|
|
"crossbeam-utils",
|
|
]
|
|
|
|
[[package]]
|
|
name = "crossbeam-utils"
|
|
version = "0.8.16"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294"
|
|
dependencies = [
|
|
"cfg-if",
|
|
]
|
|
|
|
[[package]]
|
|
name = "encoding_rs"
|
|
version = "0.8.33"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1"
|
|
dependencies = [
|
|
"cfg-if",
|
|
"packed_simd",
|
|
]
|
|
|
|
[[package]]
|
|
name = "encoding_rs_io"
|
|
version = "0.1.7"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "1cc3c5651fb62ab8aa3103998dade57efdd028544bd300516baa31840c252a83"
|
|
dependencies = [
|
|
"encoding_rs",
|
|
]
|
|
|
|
[[package]]
|
|
name = "fnv"
|
|
version = "1.0.7"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
|
|
|
[[package]]
|
|
name = "glob"
|
|
version = "0.3.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
|
|
|
|
[[package]]
|
|
name = "globset"
|
|
version = "0.4.13"
|
|
dependencies = [
|
|
"aho-corasick",
|
|
"bstr",
|
|
"fnv",
|
|
"glob",
|
|
"lazy_static",
|
|
"log",
|
|
"regex",
|
|
"serde",
|
|
"serde_json",
|
|
]
|
|
|
|
[[package]]
|
|
name = "grep"
|
|
version = "0.2.12"
|
|
dependencies = [
|
|
"grep-cli",
|
|
"grep-matcher",
|
|
"grep-pcre2",
|
|
"grep-printer",
|
|
"grep-regex",
|
|
"grep-searcher",
|
|
"termcolor",
|
|
"walkdir",
|
|
]
|
|
|
|
[[package]]
|
|
name = "grep-cli"
|
|
version = "0.1.9"
|
|
dependencies = [
|
|
"bstr",
|
|
"globset",
|
|
"lazy_static",
|
|
"log",
|
|
"regex",
|
|
"same-file",
|
|
"termcolor",
|
|
"winapi-util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "grep-matcher"
|
|
version = "0.1.6"
|
|
dependencies = [
|
|
"memchr",
|
|
"regex",
|
|
]
|
|
|
|
[[package]]
|
|
name = "grep-pcre2"
|
|
version = "0.1.6"
|
|
dependencies = [
|
|
"grep-matcher",
|
|
"log",
|
|
"pcre2",
|
|
]
|
|
|
|
[[package]]
|
|
name = "grep-printer"
|
|
version = "0.1.7"
|
|
dependencies = [
|
|
"base64",
|
|
"bstr",
|
|
"grep-matcher",
|
|
"grep-regex",
|
|
"grep-searcher",
|
|
"serde",
|
|
"serde_json",
|
|
"termcolor",
|
|
]
|
|
|
|
[[package]]
|
|
name = "grep-regex"
|
|
version = "0.1.11"
|
|
dependencies = [
|
|
"aho-corasick",
|
|
"bstr",
|
|
"grep-matcher",
|
|
"log",
|
|
"regex-automata",
|
|
"regex-syntax",
|
|
]
|
|
|
|
[[package]]
|
|
name = "grep-searcher"
|
|
version = "0.1.11"
|
|
dependencies = [
|
|
"bstr",
|
|
"encoding_rs",
|
|
"encoding_rs_io",
|
|
"grep-matcher",
|
|
"grep-regex",
|
|
"log",
|
|
"memchr",
|
|
"memmap2",
|
|
"regex",
|
|
]
|
|
|
|
[[package]]
|
|
name = "ignore"
|
|
version = "0.4.20"
|
|
dependencies = [
|
|
"crossbeam-channel",
|
|
"globset",
|
|
"lazy_static",
|
|
"log",
|
|
"memchr",
|
|
"regex",
|
|
"same-file",
|
|
"thread_local",
|
|
"walkdir",
|
|
"winapi-util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "itoa"
|
|
version = "1.0.9"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
|
|
|
|
[[package]]
|
|
name = "jemalloc-sys"
|
|
version = "0.5.4+5.3.0-patched"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "ac6c1946e1cea1788cbfde01c993b52a10e2da07f4bac608228d1bed20bfebf2"
|
|
dependencies = [
|
|
"cc",
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "jemallocator"
|
|
version = "0.5.4"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "a0de374a9f8e63150e6f5e8a60cc14c668226d7a347d8aee1a45766e3c4dd3bc"
|
|
dependencies = [
|
|
"jemalloc-sys",
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "jobserver"
|
|
version = "0.1.26"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2"
|
|
dependencies = [
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "lazy_static"
|
|
version = "1.4.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
|
|
|
[[package]]
|
|
name = "libc"
|
|
version = "0.2.147"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
|
|
|
|
[[package]]
|
|
name = "libm"
|
|
version = "0.2.7"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4"
|
|
|
|
[[package]]
|
|
name = "log"
|
|
version = "0.4.20"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
|
|
|
|
[[package]]
|
|
name = "memchr"
|
|
version = "2.6.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c"
|
|
|
|
[[package]]
|
|
name = "memmap2"
|
|
version = "0.5.10"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327"
|
|
dependencies = [
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "num-traits"
|
|
version = "0.2.16"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2"
|
|
dependencies = [
|
|
"autocfg",
|
|
"libm",
|
|
]
|
|
|
|
[[package]]
|
|
name = "once_cell"
|
|
version = "1.18.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
|
|
|
|
[[package]]
|
|
name = "packed_simd"
|
|
version = "0.3.9"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "1f9f08af0c877571712e2e3e686ad79efad9657dbf0f7c3c8ba943ff6c38932d"
|
|
dependencies = [
|
|
"cfg-if",
|
|
"num-traits",
|
|
]
|
|
|
|
[[package]]
|
|
name = "pcre2"
|
|
version = "0.2.4"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "486aca7e74edb8cab09a48d461177f450a5cca3b55e61d139f7552190e2bbcf5"
|
|
dependencies = [
|
|
"libc",
|
|
"log",
|
|
"pcre2-sys",
|
|
"thread_local",
|
|
]
|
|
|
|
[[package]]
|
|
name = "pcre2-sys"
|
|
version = "0.2.6"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "ae234f441970dbd52d4e29bee70f3b56ca83040081cb2b55b7df772b16e0b06e"
|
|
dependencies = [
|
|
"cc",
|
|
"libc",
|
|
"pkg-config",
|
|
]
|
|
|
|
[[package]]
|
|
name = "pkg-config"
|
|
version = "0.3.27"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
|
|
|
|
[[package]]
|
|
name = "proc-macro2"
|
|
version = "1.0.66"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9"
|
|
dependencies = [
|
|
"unicode-ident",
|
|
]
|
|
|
|
[[package]]
|
|
name = "quote"
|
|
version = "1.0.33"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
]
|
|
|
|
[[package]]
|
|
name = "regex"
|
|
version = "1.9.5"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "697061221ea1b4a94a624f67d0ae2bfe4e22b8a17b6a192afb11046542cc8c47"
|
|
dependencies = [
|
|
"aho-corasick",
|
|
"memchr",
|
|
"regex-automata",
|
|
"regex-syntax",
|
|
]
|
|
|
|
[[package]]
|
|
name = "regex-automata"
|
|
version = "0.3.8"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "c2f401f4955220693b56f8ec66ee9c78abffd8d1c4f23dc41a23839eb88f0795"
|
|
dependencies = [
|
|
"aho-corasick",
|
|
"memchr",
|
|
"regex-syntax",
|
|
]
|
|
|
|
[[package]]
|
|
name = "regex-syntax"
|
|
version = "0.7.5"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da"
|
|
|
|
[[package]]
|
|
name = "ripgrep"
|
|
version = "13.0.0"
|
|
dependencies = [
|
|
"bstr",
|
|
"clap",
|
|
"grep",
|
|
"ignore",
|
|
"jemallocator",
|
|
"lazy_static",
|
|
"log",
|
|
"serde",
|
|
"serde_derive",
|
|
"serde_json",
|
|
"termcolor",
|
|
"walkdir",
|
|
]
|
|
|
|
[[package]]
|
|
name = "ryu"
|
|
version = "1.0.15"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
|
|
|
|
[[package]]
|
|
name = "same-file"
|
|
version = "1.0.6"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
|
dependencies = [
|
|
"winapi-util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde"
|
|
version = "1.0.188"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e"
|
|
dependencies = [
|
|
"serde_derive",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_derive"
|
|
version = "1.0.188"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_json"
|
|
version = "1.0.105"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360"
|
|
dependencies = [
|
|
"itoa",
|
|
"ryu",
|
|
"serde",
|
|
]
|
|
|
|
[[package]]
|
|
name = "strsim"
|
|
version = "0.8.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
|
|
|
|
[[package]]
|
|
name = "syn"
|
|
version = "2.0.29"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "c324c494eba9d92503e6f1ef2e6df781e78f6a7705a0202d9801b198807d518a"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"unicode-ident",
|
|
]
|
|
|
|
[[package]]
|
|
name = "termcolor"
|
|
version = "1.2.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6"
|
|
dependencies = [
|
|
"winapi-util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "textwrap"
|
|
version = "0.11.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
|
|
dependencies = [
|
|
"unicode-width",
|
|
]
|
|
|
|
[[package]]
|
|
name = "thread_local"
|
|
version = "1.1.7"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152"
|
|
dependencies = [
|
|
"cfg-if",
|
|
"once_cell",
|
|
]
|
|
|
|
[[package]]
|
|
name = "unicode-ident"
|
|
version = "1.0.11"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c"
|
|
|
|
[[package]]
|
|
name = "unicode-width"
|
|
version = "0.1.10"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
|
|
|
|
[[package]]
|
|
name = "walkdir"
|
|
version = "2.3.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698"
|
|
dependencies = [
|
|
"same-file",
|
|
"winapi-util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "winapi"
|
|
version = "0.3.9"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
|
dependencies = [
|
|
"winapi-i686-pc-windows-gnu",
|
|
"winapi-x86_64-pc-windows-gnu",
|
|
]
|
|
|
|
[[package]]
|
|
name = "winapi-i686-pc-windows-gnu"
|
|
version = "0.4.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
|
|
|
[[package]]
|
|
name = "winapi-util"
|
|
version = "0.1.5"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
|
|
dependencies = [
|
|
"winapi",
|
|
]
|
|
|
|
[[package]]
|
|
name = "winapi-x86_64-pc-windows-gnu"
|
|
version = "0.4.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|