Decision Workspace
axum_doc vs cargo-swagg vs openapi-model-generator
Side-by-side comparison of Rust crates
49
axum_doc
experimentalv0.2.3
A CLI tool to generate OpenAPI 3.0 JSON from Axum Rust projects.
37
cargo-swagg
growingv0.3.0
Code generator from swagger file for actix-web framework
53
openapi-model-generator
experimentalv0.6.0
A robust Rust library and CLI tool for generating type-safe Rust models from OpenAPI 3.0 specifications with advanced composition support
Core Metrics
| axum_doc | cargo-swagg | openapi-model-generator | |
|---|---|---|---|
| Health Score | 49 | 37 | 53 |
| Total Downloads | 1.0K | 6.2K | 1.9K |
| 30d Downloads | 10 | 20 | 84 |
| Dependents | 0 | 0 | 0 |
| Releases | 5 | 3 | 12 |
| Last Updated | 73d ago | 2144d ago | 5d ago |
| Age | 9m | 6y 2m | 8m |
Health Breakdown
axum_doc
Maintenance
14
Quality
12
Community
6
Popularity
4
Documentation
13
cargo-swagg
Maintenance
3
Quality
14
Community
6
Popularity
5
Documentation
9
openapi-model-generator
Maintenance
20
Quality
13
Community
6
Popularity
4
Documentation
10
Technical Details
| axum_doc | cargo-swagg | openapi-model-generator | |
|---|---|---|---|
| Version | 0.2.3 | 0.3.0 | 0.6.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 8 | 6 | 9 |
| Crate Size | 40KB | 5KB | 32KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •openapi-model-generator leads with a health score of 53/100, but none of the options score above 80.
- •cargo-swagg has the most downloads (6.2K), suggesting wider adoption.
- •⚠ cargo-swagg has not been updated in over a year.