Decision Workspace
redact vs secret-fmt vs leakguard
Side-by-side comparison of Rust crates
56
redact
growingv0.1.11
A simple library for keeping secrets out of logs.
47
secret-fmt
experimentalv0.1.0
A zero-dependency wrapper to prevent accidental logging of sensitive data (PII, secrets)
64
leakguard
experimentalv1.0.0
Fast, zero-dependency redaction of secrets and PII (emails, credit cards, IPs, JWTs, API keys, and more) from text and logs.
Core Metrics
| redact | secret-fmt | leakguard | |
|---|---|---|---|
| Health Score | 56 | 47 | 64 |
| Total Downloads | 2.7M | 21 | 50.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 173 | 0 | 9 |
| Releases | 24 | 1 | 15 |
| Last Updated | 450d ago | 92d ago | 3d ago |
| Age | 3y 9m | 3m | 4m |
Health Breakdown
redact
Maintenance
8
Quality
16
Community
9
Popularity
8
Documentation
15
secret-fmt
Maintenance
8
Quality
16
Community
6
Popularity
2
Documentation
15
leakguard
Maintenance
19
Quality
15
Community
9
Popularity
6
Documentation
15
Technical Details
| redact | secret-fmt | leakguard | |
|---|---|---|---|
| Version | 0.1.11 | 0.1.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 8 | 3 | 0 |
| Crate Size | 9KB | 10KB | 70KB |
| Features | 5 | 2 | 3 |
| Yanked % | 0.0% | 0.0% | 13.3% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.65 | 1.56 | 1.70 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •leakguard leads with a health score of 64/100, but none of the options score above 80.
- •redact has the most downloads (2.7M), suggesting wider adoption.
- •redact is depended on by 173 crates — strongest ecosystem trust.
- •⚠ redact has not been updated in over a year.
- •redact, secret-fmt are pre-1.0 — API may change.