mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-02-09 14:14:56 +02:00
Memory maps appear to degrade quite a bit in the presence of multithreading. Also, switch to lock free data structures for synchronization. Give each worker an input and output buffer which require no synchronization.
47 lines
1.0 KiB
TOML
47 lines
1.0 KiB
TOML
[package]
|
|
publish = false
|
|
name = "xrep"
|
|
version = "0.1.0" #:version
|
|
authors = ["Andrew Gallant <jamslam@gmail.com>"]
|
|
description = """
|
|
Line oriented search tool using Rust's regex library.
|
|
"""
|
|
documentation = "https://github.com/BurntSushi/xrep"
|
|
homepage = "https://github.com/BurntSushi/xrep"
|
|
repository = "https://github.com/BurntSushi/xrep"
|
|
readme = "README.md"
|
|
keywords = ["regex", "grep", "egrep", "search", "pattern"]
|
|
license = "Unlicense/MIT"
|
|
|
|
[[bin]]
|
|
bench = false
|
|
path = "src/main.rs"
|
|
name = "xrep"
|
|
|
|
[dependencies]
|
|
crossbeam = "0.2"
|
|
docopt = "0.6"
|
|
env_logger = "0.3"
|
|
grep = { version = "0.1", path = "grep" }
|
|
log = "0.3"
|
|
memchr = "0.1"
|
|
memmap = "0.2"
|
|
num_cpus = "1"
|
|
parking_lot = "0.3"
|
|
regex = { version = "0.1", path = "/home/andrew/rust/regex" }
|
|
regex-syntax = { version = "0.3.1", path = "/home/andrew/rust/regex/regex-syntax" }
|
|
rustc-serialize = "0.3"
|
|
thread_local = "0.2"
|
|
walkdir = "0.1"
|
|
|
|
[features]
|
|
simd-accel = ["regex/simd-accel"]
|
|
|
|
[dev-dependencies]
|
|
glob = "0.2"
|
|
lazy_static = "0.2"
|
|
|
|
[profile.release]
|
|
debug = true
|
|
panic = "abort"
|