Decision Workspace
embedded-hal-mock vs mcp230xx vs tca9539
Side-by-side comparison of Rust crates
57
embedded-hal-mock
growingv0.11.1
A collection of mocked devices that implement the embedded-hal traits
59
mcp230xx
stablev1.0.2
MCP23008/MCP23017 8/16-Bit I2C I/O Expander with I2C Interface
42
tca9539
growingv0.2.1
TCA9539 (also PCA9539) 16-Bit I2C I/O Expander with I2C Interface
Core Metrics
| embedded-hal-mock | mcp230xx | tca9539 | |
|---|---|---|---|
| Health Score | 57 | 59 | 42 |
| Total Downloads | 4.4M | 28.3K | 14.7K |
| 30d Downloads | 301.4K | 473 | 283 |
| Dependents | 966 | 9 | 2 |
| Releases | 19 | 4 | 3 |
| Last Updated | 663d ago | 77d ago | 691d ago |
| Age | 7y 12m | 3y 7m | 2y 9m |
Health Breakdown
embedded-hal-mock
Maintenance
4
Quality
16
Community
14
Popularity
8
Documentation
15
mcp230xx
Maintenance
16
Quality
19
Community
9
Popularity
5
Documentation
10
tca9539
Maintenance
5
Quality
15
Community
7
Popularity
5
Documentation
10
Technical Details
| embedded-hal-mock | mcp230xx | tca9539 | |
|---|---|---|---|
| Version | 0.11.1 | 1.0.2 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 8 | 4 | 3 |
| Crate Size | 39KB | 7KB | 3KB |
| Features | 5 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.63 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mcp230xx leads with a health score of 59/100, but none of the options score above 80.
- •embedded-hal-mock has the most downloads (4.4M), suggesting wider adoption.
- •embedded-hal-mock is depended on by 966 crates — strongest ecosystem trust.
- •⚠ embedded-hal-mock, tca9539 have not been updated in over a year.
- •embedded-hal-mock, tca9539 are pre-1.0 — API may change.