Decision Workspace
rh-codegen vs fhir-types vs fhir-derive
Side-by-side comparison of Rust crates
53
rh-codegen
experimentalv0.3.0
Code generation library for creating Rust types from FHIR StructureDefinitions
54
fhir-types
experimentalv0.1.108
Generated per-version FHIR types and terminology operation contracts
44
fhir-derive
growingv0.1.0
FHIR-RS macro implementation
Core Metrics
| rh-codegen | fhir-types | fhir-derive | |
|---|---|---|---|
| Health Score | 53 | 54 | 44 |
| Total Downloads | 316 | 3.9K | 10.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 11 | 18 | 10 |
| Releases | 12 | 18 | 7 |
| Last Updated | 1d ago | 4d ago | 670d ago |
| Age | 5m | 1m | 2y 9m |
Health Breakdown
rh-codegen
Maintenance
19
Quality
10
Community
9
Popularity
3
Documentation
12
fhir-types
Maintenance
14
Quality
12
Community
9
Popularity
4
Documentation
15
fhir-derive
Maintenance
4
Quality
15
Community
9
Popularity
5
Documentation
11
Technical Details
| rh-codegen | fhir-types | fhir-derive | |
|---|---|---|---|
| Version | 0.3.0 | 0.1.108 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Apache-2.0 | non-standard |
| Dependencies | 20 | 4 | 3 |
| Crate Size | 182KB | 6.5MB | 10KB |
| Features | 0 | 7 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.91 | 1.98 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •fhir-types leads with a health score of 54/100, but none of the options score above 80.
- •fhir-derive has the most downloads (10.6K), suggesting wider adoption.
- •⚠ fhir-derive has not been updated in over a year.