mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2024-12-12 19:18:24 +02:00
3a1780d841
memmap is unmaintained at this point and it is being flagged as a RUSTSEC advisory in ripgrep. This doesn't seem like that big of a deal to me honestly, but memmap2 looks like a fine choice at this point. Fixes #1785, Closes #1786
34 lines
1.0 KiB
TOML
34 lines
1.0 KiB
TOML
[package]
|
|
name = "grep-searcher"
|
|
version = "0.1.7" #: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/tree/master/crates/searcher"
|
|
repository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/searcher"
|
|
readme = "README.md"
|
|
keywords = ["regex", "grep", "egrep", "search", "pattern"]
|
|
license = "Unlicense/MIT"
|
|
|
|
[dependencies]
|
|
bstr = { version = "0.2.0", default-features = false, features = ["std"] }
|
|
bytecount = "0.6"
|
|
encoding_rs = "0.8.14"
|
|
encoding_rs_io = "0.1.6"
|
|
grep-matcher = { version = "0.1.2", path = "../matcher" }
|
|
log = "0.4.5"
|
|
memmap = { package = "memmap2", version = "0.2.0" }
|
|
|
|
[dev-dependencies]
|
|
grep-regex = { version = "0.1.3", path = "../regex" }
|
|
regex = "1.1"
|
|
|
|
[features]
|
|
default = ["bytecount/runtime-dispatch-simd"]
|
|
simd-accel = ["encoding_rs/simd-accel"]
|
|
|
|
# This feature is DEPRECATED. Runtime dispatch is used for SIMD now.
|
|
avx-accel = []
|