[package]
edition = "2021"
rust-version = "1.82"
name = "rtb-redact"
version = "0.6.1"
authors = ["Matt Cockayne <matt@phpboyscout.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Free-form secret redaction for log lines, telemetry events, and diagnostic surfaces. Part of the phpboyscout Rust toolkit."
homepage = "https://redact.rust.phpboyscout.uk"
documentation = "https://docs.rs/rtb-redact"
readme = "README.md"
keywords = [
"redaction",
"secrets",
"logging",
"telemetry",
"security",
]
categories = [
"development-tools",
"text-processing",
]
license = "MIT"
repository = "https://gitlab.com/phpboyscout/rust/redact"
[lib]
name = "rtb_redact"
path = "src/lib.rs"
[[test]]
name = "bdd"
path = "tests/bdd.rs"
[[test]]
name = "unit"
path = "tests/unit.rs"
[dependencies.phf]
version = "0.14.0"
features = ["macros"]
[dependencies.regex]
version = "1.13.1"
[dev-dependencies.cucumber]
version = "0.23.0"
features = ["macros"]
[dev-dependencies.tokio]
version = "1.53.0"
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"