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.
61
sscanf
growingv0.5.0
A sscanf (inverse of format!()) macro with near unlimited parsing capabilities
71
bstr
stablev1.12.1
A string type that is not required to be valid UTF-8.
Core Metrics
| auto-regex | sscanf | bstr | |
|---|---|---|---|
| Health Score | 42 | 61 | 71 |
| Total Downloads | 4.4K | 1.8M | 269.3M |
| 30d Downloads | 7 | 112.7K | 17.1M |
| Dependents | 0 | 135 | 6.8K |
| Releases | 4 | 17 | 49 |
| Last Updated | 573d ago | 27d ago | 152d ago |
| Age | 1y 6m | 5y | 7y 5m |
Health Breakdown
auto-regex
Maintenance
10
Quality
15
Community
3
Popularity
4
Documentation
10
sscanf
Maintenance
17
Quality
14
Community
11
Popularity
7
Documentation
12
bstr
Maintenance
13
Quality
20
Community
15
Popularity
8
Documentation
15
Technical Details
| auto-regex | sscanf | bstr | |
|---|---|---|---|
| Version | 0.1.3 | 0.5.0 | 1.12.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 | 355KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 2.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.88.0 | 1.73 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bstr leads with a health score of 71/100, but none of the options score above 80.
- •bstr is depended on by 6.8K crates — strongest ecosystem trust.
- •⚠ auto-regex has not been updated in over a year.
- •auto-regex, sscanf are pre-1.0 — API may change.