Decision Workspace
embedded-hal-compat vs stm32-hal2 vs esp32c3-hal
Side-by-side comparison of Rust crates
45
embedded-hal-compat
growingv0.13.0
Compatibility layer for interoperability between different embedded-hal versions
63
stm32-hal2
stablev2.1.10
Hardware abstraction layer for the STM32 MCUs
59
esp32c3-hal
growingv0.15.1
HAL for ESP32-C3 microcontrollers
Core Metrics
| embedded-hal-compat | stm32-hal2 | esp32c3-hal | |
|---|---|---|---|
| Health Score | 45 | 63 | 59 |
| Total Downloads | 57.3K | 76.1K | 110.8K |
| 30d Downloads | 837 | 388 | 1.6K |
| Dependents | 7 | 9 | 19 |
| Releases | 19 | 71 | 15 |
| Last Updated | 691d ago | 21d ago | 749d ago |
| Age | 5y 1m | 5y | 3y 7m |
Health Breakdown
embedded-hal-compat
Maintenance
7
Quality
16
Community
7
Popularity
6
Documentation
9
stm32-hal2
Maintenance
18
Quality
17
Community
9
Popularity
6
Documentation
13
esp32c3-hal
Maintenance
10
Quality
16
Community
15
Popularity
6
Documentation
12
Technical Details
| embedded-hal-compat | stm32-hal2 | esp32c3-hal | |
|---|---|---|---|
| Version | 0.13.0 | 2.1.10 | 0.15.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 5 | 26 | 25 |
| Crate Size | 11KB | 527KB | 43KB |
| Features | 3 | 98 | 21 |
| Yanked % | 0.0% | 1.4% | 0.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | — | 1.67.0 |
| Owners | 2 | 1 | 2 (team) |
Links
Quick Verdict
- •stm32-hal2 leads with a health score of 63/100, but none of the options score above 80.
- •esp32c3-hal has the most downloads (110.8K), suggesting wider adoption.
- •⚠ embedded-hal-compat, esp32c3-hal have not been updated in over a year.
- •embedded-hal-compat, esp32c3-hal are pre-1.0 — API may change.