Decision Workspace
postgrest-parser vs pgmold-sqlparser vs sql-parse
Side-by-side comparison of Rust crates
42
postgrest-parser
experimentalv0.2.0
PostgREST URL-to-SQL parser for Rust and WASM
53
pgmold-sqlparser
experimentalv0.64.0
Fork of sqlparser with additional PostgreSQL features (PARTITION OF, SECURITY DEFINER/INVOKER, SET params, EXCLUDE, TEXT SEARCH, AGGREGATE, FOREIGN TABLE/FDW, PUBLICATION, SUBSCRIPTION, ALTER DOMAIN/TRIGGER/EXTENSION, CAST, CONVERSION, LANGUAGE, RULE, STATISTICS, ACCESS METHOD, EVENT TRIGGER, TRANSFORM, SECURITY LABEL, USER MAPPING, TABLESPACE, GRANT ON TYPE/DOMAIN, COMMENT ON TRIGGER/AGGREGATE/POLICY/CONSTRAINT/OPERATOR/RULE, ALTER TYPE OWNER/SCHEMA/ATTRIBUTE, ALTER DEFAULT PRIVILEGES)
49
sql-parse
growingv0.28.0
Parser for sql
Core Metrics
| postgrest-parser | pgmold-sqlparser | sql-parse | |
|---|---|---|---|
| Health Score | 42 | 53 | 49 |
| Total Downloads | 56 | 2.9K | 55.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 207 | 51 |
| Releases | 3 | 20 | 37 |
| Last Updated | 193d ago | 124d ago | 353d ago |
| Age | 7m | 9m | 4y 7m |
Health Breakdown
postgrest-parser
Maintenance
11
Quality
13
Community
6
Popularity
2
Documentation
10
pgmold-sqlparser
Maintenance
13
Quality
14
Community
9
Popularity
4
Documentation
13
sql-parse
Maintenance
9
Quality
16
Community
8
Popularity
6
Documentation
10
Technical Details
| postgrest-parser | pgmold-sqlparser | sql-parse | |
|---|---|---|---|
| Version | 0.2.0 | 0.64.0 | 0.28.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | Apache-2.0 | Apache-2.0 |
| Dependencies | 17 | 9 | 0 |
| Crate Size | 340KB | 473KB | 66KB |
| Features | 5 | 6 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •pgmold-sqlparser leads with a health score of 53/100, but none of the options score above 80.
- •sql-parse has the most downloads (55.1K), suggesting wider adoption.
- •pgmold-sqlparser is depended on by 207 crates — strongest ecosystem trust.