Decision Workspace
sqlparser-canonicalize vs spg-sql vs rapidhash
Side-by-side comparison of Rust crates
51
sqlparser-canonicalize
experimentalv0.2.1
Canonical text and stable hashes for sqlparser ASTs
61
spg-sql
experimentalv9.1.0
Self-built SQL front-end for SPG: PG-dialect lexer + parser. no_std + alloc.
77
rapidhash
stablev4.5.1
An extremely fast, high quality, platform-independent hashing algorithm.
Core Metrics
| sqlparser-canonicalize | spg-sql | rapidhash | |
|---|---|---|---|
| Health Score | 51 | 61 | 77 |
| Total Downloads | 40 | 5.8K | 44.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 356 | 1.4K |
| Releases | 3 | 143 | 23 |
| Last Updated | 14d ago | 16d ago | 22d ago |
| Age | 24d | 4m | 2y |
Health Breakdown
sqlparser-canonicalize
Maintenance
13
Quality
15
Community
6
Popularity
2
Documentation
15
spg-sql
Maintenance
18
Quality
16
Community
13
Popularity
4
Documentation
10
rapidhash
Maintenance
18
Quality
21
Community
15
Popularity
8
Documentation
15
Technical Details
| sqlparser-canonicalize | spg-sql | rapidhash | |
|---|---|---|---|
| Version | 0.2.1 | 9.1.0 | 4.5.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 1 | 8 |
| Crate Size | 57KB | 467KB | 60KB |
| Features | 2 | 0 | 8 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.88 | — | 1.71.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rapidhash leads with a health score of 77/100, but none of the options score above 80.
- •rapidhash is depended on by 1.4K crates — strongest ecosystem trust.
- •sqlparser-canonicalize is pre-1.0 — API may change.