[package]
edition = "2021"
rust-version = "1.74"
name = "rgx-cli"
version = "0.5.2"
authors = ["rgx contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A terminal regex tester with real-time matching, multi-engine support, and plain-English explanations"
homepage = "https://github.com/brevity1swos/rgx"
documentation = "https://github.com/brevity1swos/rgx"
readme = "README.md"
keywords = [
"regex",
"tui",
"terminal",
"cli",
"developer-tools",
]
categories = [
"command-line-utilities",
"text-processing",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/brevity1swos/rgx"
[features]
default = ["pcre2-engine"]
pcre2-engine = ["dep:pcre2"]
[lib]
name = "rgx"
path = "src/lib.rs"
[[bin]]
name = "rgx"
path = "src/main.rs"
[[test]]
name = "config_tests"
path = "tests/config_tests.rs"
[[test]]
name = "engine_tests"
path = "tests/engine_tests.rs"
[[test]]
name = "explain_tests"
path = "tests/explain_tests.rs"
[[test]]
name = "ui_tests"
path = "tests/ui_tests.rs"
[[bench]]
name = "engine_bench"
path = "benches/engine_bench.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.arboard]
version = "3"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.crossterm]
version = "0.29"
features = ["event-stream"]
[dependencies.dirs]
version = "6"
[dependencies.fancy-regex]
version = "0.17"
[dependencies.pcre2]
version = "0.2"
optional = true
[dependencies.ratatui]
version = "0.30"
[dependencies.regex]
version = "1"
[dependencies.regex-syntax]
version = "0.8"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.toml]
version = "1.0"
[dependencies.unicode-width]
version = "0.2"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.insta]
version = "1"
[profile.dist]
lto = "thin"
inherits = "release"
[profile.release]
lto = true
codegen-units = 1
strip = true