[[bench]]
harness = false
name = "enhanced_regex_bench"
path = "benches/enhanced_regex_bench.rs"
[[bin]]
doc = true
name = "rgrc"
path = "src/main.rs"
[[bin]]
doc = true
name = "rgrv"
path = "src/bin/rgrv.rs"
[dependencies.fancy-regex]
optional = true
version = "0.17"
[dependencies.mimalloc]
version = "^0.1.43"
[dependencies.regex]
version = "^1.12"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.tempfile]
version = "3.24"
[features]
debug = []
default = ["embed-configs"]
embed-configs = []
fancy-regex = ["dep:fancy-regex"]
timetrace = []
[lib]
name = "rgrc"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["command-line-utilities"]
description = "Rusty Generic Colouriser"
edition = "2024"
homepage = "https://lazywalker.github.io/rgrc"
keywords = ["cli", "grc"]
license = "MIT"
name = "rgrc"
readme = "README.md"
repository = "https://github.com/lazywalker/rgrc"
version = "0.6.6"
[package.metadata.deb]
assets = [["target/release/rgrc", "usr/bin/", "755"], ["target/release/rgrv", "usr/bin/", "755"], ["doc/rgrc.1.gz", "usr/share/man/man1/", "644"], ["etc/rgrc.conf", "etc/", "644"], ["share/conf.*", "usr/share/rgrc/", "644"]]
copyright = "2026, lazywalker <lazywalkerz@gmail.com>"
depends = "$auto"
extended-description = "A fast, Rust-based command-line tool that colorizes output from other commands using grc/grcat-style configuration files. Supports embedded configs, advanced count/replace features, and portable packaging."
license-file = ["LICENSE"]
maintainer = "lazywalker <lazywalkerz@gmail.com>"
priority = "optional"
section = "utility"
[profile.bench]
debug = 1
[profile.minimal]
inherits = "release"
opt-level = "z"
[profile.release]
codegen-units = 1
lto = true
panic = "abort"
strip = true
[[test]]
name = "all_config_tests"
path = "tests/all_config_tests.rs"
[[test]]
name = "build_tests"
path = "tests/build_tests.rs"
[[test]]
name = "colorizer_coverage"
path = "tests/colorizer_coverage.rs"
[[test]]
name = "colorizer_tests"
path = "tests/colorizer_tests.rs"
[[test]]
name = "config_lookaround_tests"
path = "tests/config_lookaround_tests.rs"
[[test]]
name = "enhanced_regex_coverage"
path = "tests/enhanced_regex_coverage.rs"
[[test]]
name = "grc_coverage"
path = "tests/grc_coverage.rs"
[[test]]
name = "grc_tests"
path = "tests/grc_tests.rs"
[[test]]
name = "hybrid_regex_test"
path = "tests/hybrid_regex_test.rs"
[[test]]
name = "lib_tests"
path = "tests/lib_tests.rs"
[[test]]
name = "main_tests"
path = "tests/main_tests.rs"
[[test]]
name = "rgrv_coverage"
path = "tests/rgrv_coverage.rs"