Decision Workspace
stm32hal vs embassy-stm32 vs stm32-hal2
Side-by-side comparison of Rust crates
40
stm32hal
growingv0.1.3
A HAL for all stm32 devices
58
embassy-stm32
growingv0.6.0
Embassy Hardware Abstraction Layer (HAL) for ST STM32 series microcontrollers
55
stm32-hal2
growingv2.1.10
Hardware abstraction layer for the STM32 MCUs
Core Metrics
| stm32hal | embassy-stm32 | stm32-hal2 | |
|---|---|---|---|
| Health Score | 40 | 58 | 55 |
| Total Downloads | 5.5K | 744.4K | 78.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 173 | 9 |
| Releases | 4 | 7 | 71 |
| Last Updated | 2853d ago | 203d ago | 217d ago |
| Age | 7y 9m | 5y 5m | 5y 6m |
Health Breakdown
stm32hal
Maintenance
9
Quality
13
Community
5
Popularity
4
Documentation
9
embassy-stm32
Maintenance
8
Quality
13
Community
17
Popularity
7
Documentation
13
stm32-hal2
Maintenance
10
Quality
17
Community
9
Popularity
6
Documentation
13
Technical Details
| stm32hal | embassy-stm32 | stm32-hal2 | |
|---|---|---|---|
| Version | 0.1.3 | 0.6.0 | 2.1.10 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 3 | 53 | 26 |
| Crate Size | 8KB | 575KB | 527KB |
| Features | 25 | 1576 | 98 |
| Yanked % | 75.0% | 0.0% | 1.4% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •embassy-stm32 leads with a health score of 58/100, but none of the options score above 80.
- •embassy-stm32 is depended on by 173 crates — strongest ecosystem trust.
- •⚠ stm32hal has not been updated in over a year.
- •stm32hal, embassy-stm32 are pre-1.0 — API may change.