Decision Workspace
stm32l4xx-hal vs stm32l4-hal vs stm32-hal2
Side-by-side comparison of Rust crates
47
stm32l4xx-hal
growingv0.7.1
Hardware abstraction layer for the stm32l4xx chips
36
stm32l4-hal
growingv0.3.0
Hardware abstraction layer for the stm32l4xx chips
63
stm32-hal2
stablev2.1.10
Hardware abstraction layer for the STM32 MCUs
Core Metrics
| stm32l4xx-hal | stm32l4-hal | stm32-hal2 | |
|---|---|---|---|
| Health Score | 47 | 36 | 63 |
| Total Downloads | 46.8K | 1.9K | 76.1K |
| 30d Downloads | 606 | 5 | 402 |
| Dependents | 61 | 0 | 9 |
| Releases | 12 | 1 | 71 |
| Last Updated | 1446d ago | 2680d ago | 21d ago |
| Age | 7y 4m | 7y 4m | 5y |
Health Breakdown
stm32l4xx-hal
Maintenance
4
Quality
15
Community
13
Popularity
6
Documentation
9
stm32l4-hal
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
9
stm32-hal2
Maintenance
18
Quality
17
Community
9
Popularity
6
Documentation
13
Technical Details
| stm32l4xx-hal | stm32l4-hal | stm32-hal2 | |
|---|---|---|---|
| Version | 0.7.1 | 0.3.0 | 2.1.10 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 23 | 9 | 26 |
| Crate Size | 108KB | 26KB | 527KB |
| Features | 21 | 6 | 98 |
| Yanked % | 0.0% | 0.0% | 1.4% |
| Edition | 2018 | 2018 | 2024 |
| MSRV | — | — | — |
| Owners | 2 | 1 | 1 |
Links
Quick Verdict
- •stm32-hal2 leads with a health score of 63/100, but none of the options score above 80.
- •⚠ stm32l4xx-hal, stm32l4-hal have not been updated in over a year.
- •stm32l4xx-hal, stm32l4-hal are pre-1.0 — API may change.