Decision Workspace
auto-regex vs sscanf vs bstr
Side-by-side comparison of Rust crates
42
auto-regex
growingv0.1.3
Automagically finds a regex that best matches an example and a sample list.
55
sscanf
growingv0.5.0
A sscanf (inverse of format!()) macro with near unlimited parsing capabilities
73
bstr
stablev1.13.1
A string type that is not required to be valid UTF-8.
Core Metrics
| auto-regex | sscanf | bstr | |
|---|---|---|---|
| Health Score | 42 | 55 | 73 |
| Total Downloads | 4.5K | 2.3M | 449.5M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 151 | 9.6K |
| Releases | 4 | 17 | 53 |
| Last Updated | 769d ago | 223d ago | 60d ago |
| Age | 2y 1m | 5y 7m | 8y |
Health Breakdown
auto-regex
Maintenance
10
Quality
15
Community
3
Popularity
4
Documentation
10
sscanf
Maintenance
10
Quality
14
Community
11
Popularity
8
Documentation
12
bstr
Maintenance
15
Quality
20
Community
15
Popularity
8
Documentation
15
Technical Details
| auto-regex | sscanf | bstr | |
|---|---|---|---|
| Version | 0.1.3 | 0.5.0 | 1.13.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 5 | 6 |
| Crate Size | 5KB | 64KB | 357KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 1.9% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.88.0 | 1.65 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bstr leads with a health score of 73/100, but none of the options score above 80.
- •bstr is depended on by 9.6K crates — strongest ecosystem trust.
- •⚠ auto-regex has not been updated in over a year.
- •auto-regex, sscanf are pre-1.0 — API may change.