Decision Workspace
needle vs matcha vs memchr
Side-by-side comparison of Rust crates
37
needle
growingv0.1.1
Fast search functions for finding things in Strings, Arrays and iterators.
27
matcha
growingv0.1.1
Useful string search algorithms
72
memchr
stablev2.8.0
Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for 1, 2 or 3 byte search and single substring search.
Core Metrics
| needle | matcha | memchr | |
|---|---|---|---|
| Health Score | 37 | 27 | 72 |
| Total Downloads | 5.4K | 3.7K | 842.6M |
| 30d Downloads | 42 | 2 | 58.6M |
| Dependents | 16 | 0 | 17.1K |
| Releases | 2 | 2 | 44 |
| Last Updated | 3474d ago | 3538d ago | 49d ago |
| Age | 9y 6m | 9y 8m | 10y 9m |
Health Breakdown
needle
Maintenance
3
Quality
16
Community
6
Popularity
4
Documentation
8
matcha
Maintenance
3
Quality
9
Community
3
Popularity
4
Documentation
8
memchr
Maintenance
15
Quality
22
Community
12
Popularity
8
Documentation
15
Technical Details
| needle | matcha | memchr | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.1 | 2.8.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | Unlicense OR MIT |
| Dependencies | 0 | 1 | 3 |
| Crate Size | 58KB | 2KB | 98KB |
| Features | 0 | 0 | 7 |
| Yanked % | 0.0% | 100.0% | 2.3% |
| Edition | — | — | 2021 |
| MSRV | — | — | 1.61 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •memchr leads with a health score of 72/100, but none of the options score above 80.
- •memchr is depended on by 17.1K crates — strongest ecosystem trust.
- •⚠ needle, matcha have not been updated in over a year.
- •needle, matcha are pre-1.0 — API may change.