mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-07-31 20:21:59 -07:00
This adds a new walk type in the `ignore` crate, `WalkParallel`, which provides a way for recursively iterating over a set of paths in parallel while respecting various ignore rules. The API is a bit strange, as a closure producing a closure isn't something one often sees, but it does seem to work well. This also allowed us to simplify much of the worker logic in ripgrep proper, where MultiWorker is now gone.
51 lines
1.1 KiB
TOML
51 lines
1.1 KiB
TOML
[package]
|
|
name = "ripgrep"
|
|
version = "0.2.6" #:version
|
|
authors = ["Andrew Gallant <jamslam@gmail.com>"]
|
|
description = """
|
|
Line oriented search tool using Rust's regex library. Combines the raw
|
|
performance of grep with the usability of the silver searcher.
|
|
"""
|
|
documentation = "https://github.com/BurntSushi/ripgrep"
|
|
homepage = "https://github.com/BurntSushi/ripgrep"
|
|
repository = "https://github.com/BurntSushi/ripgrep"
|
|
readme = "README.md"
|
|
keywords = ["regex", "grep", "egrep", "search", "pattern"]
|
|
license = "Unlicense/MIT"
|
|
exclude = ["HomebrewFormula"]
|
|
|
|
[[bin]]
|
|
bench = false
|
|
path = "src/main.rs"
|
|
name = "rg"
|
|
|
|
[[test]]
|
|
name = "integration"
|
|
path = "tests/tests.rs"
|
|
|
|
[dependencies]
|
|
ctrlc = "2.0"
|
|
docopt = "0.6"
|
|
env_logger = "0.3"
|
|
grep = { version = "0.1.3", path = "grep" }
|
|
ignore = { version = "0.1.3", path = "ignore" }
|
|
lazy_static = "0.2"
|
|
libc = "0.2"
|
|
log = "0.3"
|
|
memchr = "0.1"
|
|
memmap = "0.5"
|
|
num_cpus = "1"
|
|
regex = "0.1.77"
|
|
rustc-serialize = "0.3"
|
|
term = "0.4"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
kernel32-sys = "0.2"
|
|
winapi = "0.2"
|
|
|
|
[features]
|
|
simd-accel = ["regex/simd-accel"]
|
|
|
|
[profile.release]
|
|
debug = true
|