Decision Workspace
fnsql vs fnsql-macro vs unit-enum
Side-by-side comparison of Rust crates
45
fnsql
growingv0.2.7
Type-safe SQL query wrappers
39
fnsql-macro
growingv0.2.7
Type-safe SQL query wrappers
59
unit-enum
stablev1.5.0
A procedural macro for deriving ordinal methods in unit-like enums for Rust.
Core Metrics
| fnsql | fnsql-macro | unit-enum | |
|---|---|---|---|
| Health Score | 45 | 39 | 59 |
| Total Downloads | 17.4K | 4.4K | 7.8K |
| 30d Downloads | 33 | 36 | 62 |
| Dependents | 2 | 2 | 2 |
| Releases | 13 | 2 | 9 |
| Last Updated | 1470d ago | 1470d ago | 23d ago |
| Age | 4y 1m | 4y | 2y |
Health Breakdown
fnsql
Maintenance
6
Quality
18
Community
6
Popularity
5
Documentation
10
fnsql-macro
Maintenance
3
Quality
16
Community
6
Popularity
4
Documentation
10
unit-enum
Maintenance
18
Quality
20
Community
4
Popularity
5
Documentation
12
Technical Details
| fnsql | fnsql-macro | unit-enum | |
|---|---|---|---|
| Version | 0.2.7 | 0.2.7 | 1.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT/Apache-2.0 | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 8 | 3 |
| Crate Size | 8KB | 9KB | 15KB |
| Features | 5 | 5 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.71 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •unit-enum leads with a health score of 59/100, but none of the options score above 80.
- •fnsql has the most downloads (17.4K), suggesting wider adoption.
- •⚠ fnsql, fnsql-macro have not been updated in over a year.
- •fnsql, fnsql-macro are pre-1.0 — API may change.