[package]
edition = "2024"
name = "ripgrepx"
version = "0.4.0"
build = false
exclude = [
"/npm",
"/bench",
"/docs",
"/.github",
"/mise.toml",
"/pyproject.toml",
"/install.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Instant ripgrep via a persistent candidate index, for the terminal and AI agents over MCP"
readme = "README.md"
keywords = [
"ripgrep",
"grep",
"search",
"code-search",
"mcp",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/igorgatis/ripgrepx"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/rgx-v{ version }-{ target }.{ archive-format }"
bin-dir = "rgx{ binary-ext }"
pkg-fmt = "tgz"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"
[package.metadata.binstall.overrides.aarch64-pc-windows-msvc]
pkg-fmt = "zip"
[features]
dhat-heap = ["dep:dhat"]
tcp-transport = []
[lib]
name = "rgx"
path = "src/lib.rs"
[[bin]]
name = "rgx"
path = "src/main.rs"
[[test]]
name = "index_soundness"
path = "tests/index_soundness.rs"
[[test]]
name = "soundness"
path = "tests/soundness.rs"
[[test]]
name = "walk_parity"
path = "tests/walk_parity.rs"
[[test]]
name = "walk_parity_fuzz"
path = "tests/walk_parity_fuzz.rs"
[[bench]]
name = "index_bench"
path = "benches/index_bench.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.dhat]
version = "0.3"
optional = true
[dependencies.grep]
version = "0.4"
[dependencies.ignore]
version = "0.4"
[dependencies.memchr]
version = "2"
[dependencies.notify-debouncer-full]
version = "0.5"
[dependencies.rayon]
version = "1"
[dependencies.regex-syntax]
version = "0.8"
[dependencies.roaring]
version = "0.10"
[dependencies.rustc-hash]
version = "2"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.termcolor]
version = "1"
[dependencies.toml]
version = "1.1.2"
features = [
"parse",
"serde",
]
default-features = false
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[profile.bench]
debug = "line-tables-only"
[profile.profiling]
debug = "line-tables-only"
inherits = "release"
[profile.release]
lto = true
codegen-units = 1
strip = true