Decision Workspace
postgres-named-parameters-derive vs postgres-named-parameters vs sql_query_builder
Side-by-side comparison of Rust crates
36
postgres-named-parameters-derive
growingv0.1.0
Derive macros used internally by `postgres-named-parameters`. You should not use this crate directly; instead, use `postgres-named-parameters`.
36
postgres-named-parameters
growingv0.1.0
A lightweight macro wrapper around the `postgres` crate which gives you the ergonomics of named parameters in your raw SQL queries
69
sql_query_builder
stablev2.6.2
Write SQL queries in a simple and composable way
Core Metrics
| postgres-named-parameters-derive | postgres-named-parameters | sql_query_builder | |
|---|---|---|---|
| Health Score | 36 | 36 | 69 |
| Total Downloads | 1.9K | 1.7K | 202.5K |
| 30d Downloads | 21 | 3 | 6.1K |
| Dependents | 1 | 0 | 208 |
| Releases | 1 | 1 | 33 |
| Last Updated | 770d ago | 770d ago | 35d ago |
| Age | 2y 1m | 2y 1m | 3y 10m |
Health Breakdown
postgres-named-parameters-derive
Maintenance
1
Quality
14
Community
7
Popularity
4
Documentation
10
postgres-named-parameters
Maintenance
1
Quality
15
Community
6
Popularity
4
Documentation
10
sql_query_builder
Maintenance
17
Quality
22
Community
9
Popularity
6
Documentation
15
Technical Details
| postgres-named-parameters-derive | postgres-named-parameters | sql_query_builder | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 2.6.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 5 | 3 | 1 |
| Crate Size | 4KB | 4KB | 64KB |
| Features | 0 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.62 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •sql_query_builder leads with a health score of 69/100, but none of the options score above 80.
- •sql_query_builder is depended on by 208 crates — strongest ecosystem trust.
- •⚠ postgres-named-parameters-derive, postgres-named-parameters have not been updated in over a year.
- •postgres-named-parameters-derive, postgres-named-parameters are pre-1.0 — API may change.