rtb-redact 0.6.1

Free-form secret redaction for log lines, telemetry events, and diagnostic surfaces. Part of the phpboyscout Rust toolkit.
Documentation
# rtb-redact

> Part of the [phpboyscout Rust toolkit]https://rust.phpboyscout.uk> small, framework-free crates extracted from
> [rust-tool-base]https://gitlab.com/phpboyscout/rust-tool-base.

Free-form secret redaction for log lines, telemetry events, and
diagnostic surfaces. Strips URL userinfo, credential query parameters,
`Authorization` headers, well-known provider key prefixes, and long
opaque tokens — conservatively ordered, erring toward over-redaction.

```rust
use rtb_redact::string;

let scrubbed = string("connect to postgres://app:hunter2@db/mydb");
assert!(scrubbed.contains("[redacted]"));
assert!(!scrubbed.contains("hunter2"));
```

- **Docs:** <https://redact.rust.phpboyscout.uk>
- **API reference:** <https://docs.rs/rtb-redact>
- **Crate:** <https://crates.io/crates/rtb-redact>

## Development

`just ci` runs the full local gate (fmt, clippy, nextest, doc, deny).
Tests include a cucumber BDD suite (`tests/bdd.rs`). Releases are cut by
release-plz from Conventional Commits — do not tag manually.

## License

MIT