Decision Workspace
gp2d12 vs esp-hal vs atsamd-hal
Side-by-side comparison of Rust crates
36
gp2d12
growingv0.3.0
Driver for the GP2D12 infrared distance sensor
76
esp-hal
stablev1.2.2
Bare-metal HAL for Espressif devices
68
atsamd-hal
growingv0.23.4
HAL and Peripheral access API for ATSAMD11, ATSAMD21, ATSAMD51, ATSAME51, ATSAME53 and ATSAME54 microcontrollers
Core Metrics
| gp2d12 | esp-hal | atsamd-hal | |
|---|---|---|---|
| Health Score | 36 | 76 | 68 |
| Total Downloads | 4.2K | 986.0K | 684.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 625 | 485 |
| Releases | 3 | 26 | 42 |
| Last Updated | 1783d ago | 21d ago | 61d ago |
| Age | 4y 10m | 2y 12m | 7y 7m |
Health Breakdown
gp2d12
Maintenance
4
Quality
14
Community
4
Popularity
4
Documentation
10
esp-hal
Maintenance
19
Quality
16
Community
19
Popularity
7
Documentation
15
atsamd-hal
Maintenance
14
Quality
14
Community
18
Popularity
7
Documentation
15
Technical Details
| gp2d12 | esp-hal | atsamd-hal | |
|---|---|---|---|
| Version | 0.3.0 | 1.2.2 | 0.23.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 62 | 51 |
| Crate Size | 4KB | 881KB | 354KB |
| Features | 0 | 22 | 52 |
| Yanked % | 0.0% | 3.9% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.95.0 | 1.85.1 |
| Owners | 1 | 3 (team) | 1 (team) |
Links
Quick Verdict
- •esp-hal leads with a health score of 76/100, but none of the options score above 80.
- •esp-hal is depended on by 625 crates — strongest ecosystem trust.
- •⚠ gp2d12 has not been updated in over a year.
- •gp2d12, atsamd-hal are pre-1.0 — API may change.