[package]
edition = "2021"
rust-version = "1.82"
name = "rtb-redact"
version = "0.5.2"
authors = ["Matt Cockayne <matt@phpboyscout.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust Tool Base — free-form secret redaction for log lines, telemetry events, and diagnostic surfaces."
homepage = "https://rtb.phpboyscout.uk"
documentation = "https://rtb.phpboyscout.uk"
readme = "README.md"
keywords = [
"cli",
"framework",
"scaffolding",
"ai",
"mcp",
]
categories = [
"command-line-interface",
"development-tools",
]
license = "MIT"
repository = "https://gitlab.com/phpboyscout/rust-tool-base"
[lib]
name = "rtb_redact"
path = "src/lib.rs"
[[test]]
name = "bdd"
path = "tests/bdd.rs"
[[test]]
name = "unit"
path = "tests/unit.rs"
[dependencies.once_cell]
version = "1"
[dependencies.phf]
version = "0.11"
features = ["macros"]
[dependencies.regex]
version = "1"
[dev-dependencies.cucumber]
version = "0.21"
features = ["macros"]
[dev-dependencies.tokio]
version = "1.47"
features = ["full"]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"