Decision Workspace
spargen-macro vs toac vs spargen
Side-by-side comparison of Rust crates
47
spargen-macro
experimentalv0.5.0
Proc-macro front-end for spargen: generate a typed OpenAPI 3.1/3.2 client inline with generate_api!.
51
toac
experimentalv0.1.2
Tower-compatible OpenAPI client runtime. Types and traits that generated code from `toac-build` links against.
49
spargen
experimentalv0.5.0
A compile-time-correct Rust client generator for OpenAPI 3.1.x and 3.2.x.
Core Metrics
| spargen-macro | toac | spargen | |
|---|---|---|---|
| Health Score | 47 | 51 | 49 |
| Total Downloads | 879 | 505 | 9.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 15 | 6 |
| Releases | 6 | 3 | 7 |
| Last Updated | 15d ago | 128d ago | 15d ago |
| Age | 2m | 4m | 3m |
Health Breakdown
spargen-macro
Maintenance
12
Quality
13
Community
6
Popularity
4
Documentation
12
toac
Maintenance
13
Quality
14
Community
9
Popularity
3
Documentation
12
spargen
Maintenance
13
Quality
11
Community
8
Popularity
5
Documentation
12
Technical Details
| spargen-macro | toac | spargen | |
|---|---|---|---|
| Version | 0.5.0 | 0.1.2 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 23 | 20 |
| Crate Size | 16KB | 57KB | 656KB |
| Features | 0 | 5 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.88 | 1.88 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •toac leads with a health score of 51/100, but none of the options score above 80.
- •spargen has the most downloads (9.3K), suggesting wider adoption.