Decision Workspace
secret-fmt vs redact vs rlg-redact
Side-by-side comparison of Rust crates
47
secret-fmt
experimentalv0.1.0
A zero-dependency wrapper to prevent accidental logging of sensitive data (PII, secrets)
56
redact
growingv0.1.11
A simple library for keeping secrets out of logs.
56
rlg-redact
experimentalv0.0.14
PII and secret redaction for rlg records. Built-in regex patterns for credit cards, JWTs, OAuth bearers, emails, and IPv4 addresses, plus a custom-pattern API. Sits between `Log::fire()` and the sink so logs emitted to disk / OTLP / syslog are scrubbed.
Core Metrics
| secret-fmt | redact | rlg-redact | |
|---|---|---|---|
| Health Score | 47 | 56 | 56 |
| Total Downloads | 21 | 2.7M | 186 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 173 | 0 |
| Releases | 1 | 24 | 5 |
| Last Updated | 92d ago | 450d ago | 8d ago |
| Age | 3m | 3y 9m | 4m |
Health Breakdown
secret-fmt
Maintenance
8
Quality
16
Community
6
Popularity
2
Documentation
15
redact
Maintenance
8
Quality
16
Community
9
Popularity
8
Documentation
15
rlg-redact
Maintenance
20
Quality
13
Community
5
Popularity
3
Documentation
15
Technical Details
| secret-fmt | redact | rlg-redact | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.11 | 0.0.14 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 8 | 4 |
| Crate Size | 10KB | 9KB | 20KB |
| Features | 2 | 5 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.56 | 1.65 | 1.88.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •redact leads with a health score of 56/100, but none of the options score above 80.
- •redact is depended on by 173 crates — strongest ecosystem trust.
- •⚠ redact has not been updated in over a year.