Decision Workspace
mysql_macros vs natx-macro vs newtype-ops
Side-by-side comparison of Rust crates
35
mysql_macros
growingv0.1.2
Provides simple macro(s) to help when developing with mysql
53
natx-macro
experimentalv2.0.0
Compile-time MySQL and PostgreSQL ambient transaction attribute macros
52
newtype-ops
growingv0.1.5
Mass-derive many operators for newtypes. Wartier than newtype_derive.
Core Metrics
| mysql_macros | natx-macro | newtype-ops | |
|---|---|---|---|
| Health Score | 35 | 53 | 52 |
| Total Downloads | 4.5K | 452 | 779.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 11 | 234 |
| Releases | 3 | 2 | 4 |
| Last Updated | 2649d ago | 13d ago | 98d ago |
| Age | 7y 3m | 2m | 9y 10m |
Health Breakdown
mysql_macros
Maintenance
3
Quality
16
Community
3
Popularity
4
Documentation
9
natx-macro
Maintenance
13
Quality
16
Community
9
Popularity
3
Documentation
12
newtype-ops
Maintenance
10
Quality
17
Community
8
Popularity
7
Documentation
10
Technical Details
| mysql_macros | natx-macro | newtype-ops | |
|---|---|---|---|
| Version | 0.1.2 | 2.0.0 | 0.1.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 OR MIT | MIT OR Apache-2.0 | WTFPL |
| Dependencies | 0 | 4 | 0 |
| Crate Size | 1KB | 13KB | 10KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2018 |
| MSRV | — | 1.94 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •natx-macro leads with a health score of 53/100, but none of the options score above 80.
- •newtype-ops has the most downloads (779.8K), suggesting wider adoption.
- •newtype-ops is depended on by 234 crates — strongest ecosystem trust.
- •⚠ mysql_macros has not been updated in over a year.
- •mysql_macros, newtype-ops are pre-1.0 — API may change.