Decision Workspace
include-postgres-sql vs simple_pg_macros vs sea-query
Side-by-side comparison of Rust crates
37
include-postgres-sql
growingv0.2.2
A Yesql inspired macro for using PostgreSQL SQL in Rust
56
simple_pg_macros
growingv0.6.0
Procedural macros for simple_pg: the sql! query macro and its companions.
71
sea-query
stablev1.0.2
🔱 A dynamic query builder for MySQL, Postgres and SQLite
Core Metrics
| include-postgres-sql | simple_pg_macros | sea-query | |
|---|---|---|---|
| Health Score | 37 | 56 | 71 |
| Total Downloads | 21.4K | 7.1K | 37.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 16 | 2.4K |
| Releases | 13 | 6 | 165 |
| Last Updated | 1312d ago | 65d ago | 58d ago |
| Age | 4y 8m | 2y 9m | 5y 9m |
Health Breakdown
include-postgres-sql
Maintenance
4
Quality
14
Community
5
Popularity
5
Documentation
9
simple_pg_macros
Maintenance
13
Quality
16
Community
9
Popularity
5
Documentation
13
sea-query
Maintenance
16
Quality
16
Community
16
Popularity
8
Documentation
15
Technical Details
| include-postgres-sql | simple_pg_macros | sea-query | |
|---|---|---|---|
| Version | 0.2.2 | 0.6.0 | 1.0.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 6 | 0 | 17 |
| Crate Size | 189KB | 20KB | 321KB |
| Features | 1 | 0 | 32 |
| Yanked % | 0.0% | 0.0% | 6.1% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | — | 1.88.0 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •sea-query leads with a health score of 71/100, but none of the options score above 80.
- •sea-query is depended on by 2.4K crates — strongest ecosystem trust.
- •⚠include-postgres-sql has not been updated in over a year.
- •include-postgres-sql, simple_pg_macros are pre-1.0 — API may change.