Decision Workspace
openapi-to-rust vs openapi-model-generator vs ru-openapi-cg
Side-by-side comparison of Rust crates
42
openapi-to-rust
experimentalv0.1.1
Generate strongly-typed Rust structs, HTTP clients, and SSE streaming clients from OpenAPI 3.1 specifications
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
46
ru-openapi-cg
experimentalv0.1.4
A powerful OpenAPI 3.0 code generator written in Rust that supports multiple programming languages and frameworks
Core Metrics
| openapi-to-rust | openapi-model-generator | ru-openapi-cg | |
|---|---|---|---|
| Health Score | 42 | 53 | 46 |
| Total Downloads | 93 | 1.9K | 2.1K |
| 30d Downloads | 66 | 83 | 7 |
| Dependents | 0 | 0 | 0 |
| Releases | 2 | 12 | 5 |
| Last Updated | 41d ago | 5d ago | 201d ago |
| Age | 1m | 8m | 9m |
Health Breakdown
openapi-to-rust
Maintenance
11
Quality
11
Community
6
Popularity
2
Documentation
12
openapi-model-generator
Maintenance
20
Quality
13
Community
6
Popularity
4
Documentation
10
ru-openapi-cg
Maintenance
10
Quality
13
Community
6
Popularity
4
Documentation
13
Technical Details
| openapi-to-rust | openapi-model-generator | ru-openapi-cg | |
|---|---|---|---|
| Version | 0.1.1 | 0.6.0 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 23 | 9 | 7 |
| Crate Size | 248KB | 32KB | 29KB |
| Features | 1 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.85.0 | — | — |
| 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.
- •ru-openapi-cg has the most downloads (2.1K), suggesting wider adoption.