Decision Workspace
embedded-controls vs switch-hal vs debounced-pin
Side-by-side comparison of Rust crates
37
embedded-controls
growingv0.1.5
Based on switch-hal library that allows to handle primitive controls(buttons, encoders and etc.)
43
switch-hal
growingv0.4.0
HAL and basic implementations for input and output switches (buttons, switches, leds, transistors)
39
debounced-pin
growingv0.3.0
A platform-agnostic debounce library. It also adds a wrapper for an `InputPin` that debounces it's `is_high()` and `is_low()` methods.
Core Metrics
| embedded-controls | switch-hal | debounced-pin | |
|---|---|---|---|
| Health Score | 37 | 43 | 39 |
| Total Downloads | 6.6K | 91.4K | 9.1K |
| 30d Downloads | 8 | 2.7K | 9 |
| Dependents | 0 | 28 | 1 |
| Releases | 5 | 9 | 4 |
| Last Updated | 1211d ago | 1746d ago | 2291d ago |
| Age | 3y 4m | 6y 1m | 7y 1m |
Health Breakdown
embedded-controls
Maintenance
4
Quality
9
Community
6
Popularity
5
Documentation
13
switch-hal
Maintenance
4
Quality
11
Community
10
Popularity
6
Documentation
12
debounced-pin
Maintenance
4
Quality
14
Community
7
Popularity
5
Documentation
9
Technical Details
| embedded-controls | switch-hal | debounced-pin | |
|---|---|---|---|
| Version | 0.1.5 | 0.4.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 1 | 6 |
| Crate Size | 11KB | 11KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 20.0% | 11.1% | 0.0% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •switch-hal leads with a health score of 43/100, but none of the options score above 80.
- •⚠ embedded-controls, switch-hal, debounced-pin have not been updated in over a year.