Decision Workspace
hl7-3-derive vs hl7-2-derive vs hl7-v2-derive
Side-by-side comparison of Rust crates
Derive macro for the hl7-3 crate: #[derive(FromElement)] maps struct fields to Health Level Seven (HL7®) version 3 (v3) XML element attributes and children. Used through hl7-3's `derive` feature, not directly. HL7®, and FHIR® are the registered trademarks of Health Level Seven International and their use of these trademarks does not constitute an endorsement by HL7. This project is an independent work.
Derive macros for the hl7-2 crate: #[derive(FromHl7)] and #[derive(ToHl7)] map struct fields to Health Level Seven (HL7®) version 2 (v2) message paths. Used through hl7-2's `derive` feature, not directly. HL7®, and FHIR® are the registered trademarks of Health Level Seven International and their use of these trademarks does not constitute an endorsement by HL7. This project is an independent work.
Derive macros for the hl7-2 crate: #[derive(FromHl7)] and #[derive(ToHl7)] map struct fields to Health Level Seven (HL7) version 2 (v2) message paths. Used through hl7-2's `derive` feature, not directly.
Core Metrics
| hl7-3-derive | hl7-2-derive | hl7-v2-derive | |
|---|---|---|---|
| Health Score | 49 | 49 | 44 |
| Total Downloads | 134 | 153 | 67 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 8 | 8 | 1 |
| Releases | 7 | 7 | 3 |
| Last Updated | 41d ago | 41d ago | 52d ago |
| Age | 1m | 1m | 1m |
Health Breakdown
Technical Details
| hl7-3-derive | hl7-2-derive | hl7-v2-derive | |
|---|---|---|---|
| Version | 0.2.0 | 0.2.0 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only | MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only | MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only |
| Dependencies | 3 | 3 | 3 |
| Crate Size | 9KB | 10KB | 8KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.96 | 1.96 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •hl7-3-derive leads with a health score of 49/100, but none of the options score above 80.
- •hl7-2-derive has the most downloads (153), suggesting wider adoption.