Decision Workspace
naive_opt vs daachorse vs ast-grep-core
Side-by-side comparison of Rust crates
52
naive_opt
growingv0.2.2
The optimized naive string-search algorithm.
73
daachorse
stablev5.0.0
Daachorse: Double-Array Aho-Corasick
72
ast-grep-core
growingv0.50.0
Search and Rewrite code at large scale using precise AST pattern
Core Metrics
| naive_opt | daachorse | ast-grep-core | |
|---|---|---|---|
| Health Score | 52 | 73 | 72 |
| Total Downloads | 68.9K | 7.6M | 2.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 67 | 686 | 2.0K |
| Releases | 28 | 21 | 183 |
| Last Updated | 136d ago | 63d ago | today |
| Age | 5y 6m | 5y | 4y 3m |
Health Breakdown
naive_opt
Maintenance
11
Quality
14
Community
9
Popularity
6
Documentation
12
daachorse
Maintenance
14
Quality
23
Community
16
Popularity
8
Documentation
12
ast-grep-core
Maintenance
20
Quality
14
Community
15
Popularity
8
Documentation
15
Technical Details
| naive_opt | daachorse | ast-grep-core | |
|---|---|---|---|
| Version | 0.2.2 | 5.0.0 | 0.50.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 1 | 0 | 5 |
| Crate Size | 33KB | 83KB | 49KB |
| Features | 3 | 2 | 1 |
| Yanked % | 7.1% | 0.0% | 0.5% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.65.0 | 1.77 | 1.88.0 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •daachorse leads with a health score of 73/100, but none of the options score above 80.
- •ast-grep-core is depended on by 2.0K crates — strongest ecosystem trust.
- •naive_opt, ast-grep-core are pre-1.0 — API may change.