Decision Workspace
include-sql vs simple_pg_macros vs namapper-macro
Side-by-side comparison of Rust crates
45
include-sql
growingv0.3.2
A Yesql inspired macro for using SQL in Rust
56
simple_pg_macros
growingv0.6.0
Procedural macros for simple_pg: the sql! query macro and its companions.
53
namapper-macro
experimentalv2.0.0
Declarative SQL mapper macros with static method catalogs and query lifecycle observability
Core Metrics
| include-sql | simple_pg_macros | namapper-macro | |
|---|---|---|---|
| Health Score | 45 | 56 | 53 |
| Total Downloads | 23.7K | 7.1K | 289 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 26 | 16 | 10 |
| Releases | 10 | 6 | 3 |
| Last Updated | 448d ago | 65d ago | 13d ago |
| Age | 7y 7m | 2y 9m | 2m |
Health Breakdown
include-sql
Maintenance
5
Quality
15
Community
9
Popularity
5
Documentation
11
simple_pg_macros
Maintenance
13
Quality
16
Community
9
Popularity
5
Documentation
13
namapper-macro
Maintenance
13
Quality
16
Community
9
Popularity
3
Documentation
12
Technical Details
| include-sql | simple_pg_macros | namapper-macro | |
|---|---|---|---|
| Version | 0.3.2 | 0.6.0 | 2.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 5 | 0 | 4 |
| Crate Size | 16KB | 20KB | 46KB |
| Features | 1 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | 1.88 | — | 1.94 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •simple_pg_macros leads with a health score of 56/100, but none of the options score above 80.
- •include-sql has the most downloads (23.7K), suggesting wider adoption.
- •⚠ include-sql has not been updated in over a year.
- •include-sql, simple_pg_macros are pre-1.0 — API may change.