mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 01:30:21 -07:00
This increases the limits a bit for when the regex engine will build and use a fully compiled DFA. They can faster in some circumstances. For example, '(?-u)^\w{30,}$' gets a nice speed boost from state acceleration. We are also able to remove `regex` proper as a dependency. Wow.
23 lines
678 B
TOML
23 lines
678 B
TOML
[package]
|
|
name = "grep-regex"
|
|
version = "0.1.11" #:version
|
|
authors = ["Andrew Gallant <jamslam@gmail.com>"]
|
|
description = """
|
|
Use Rust's regex library with the 'grep' crate.
|
|
"""
|
|
documentation = "https://docs.rs/grep-regex"
|
|
homepage = "https://github.com/BurntSushi/ripgrep/tree/master/crates/regex"
|
|
repository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/regex"
|
|
readme = "README.md"
|
|
keywords = ["regex", "grep", "search", "pattern", "line"]
|
|
license = "Unlicense OR MIT"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
aho-corasick = "1.0.2"
|
|
bstr = "1.5.0"
|
|
grep-matcher = { version = "0.1.6", path = "../matcher" }
|
|
log = "0.4.19"
|
|
regex-automata = "0.3.0"
|
|
regex-syntax = "0.7.2"
|