Decision Workspace
cube2rust vs embassy-stm32 vs embassy-usb
Side-by-side comparison of Rust crates
33
cube2rust
growingv0.0.1
A tool for generating a rust project from a STM32CubeMX ioc file
65
embassy-stm32
growingv0.6.0
Embassy Hardware Abstraction Layer (HAL) for ST STM32 series microcontrollers
70
embassy-usb
growingv0.6.0
Async USB device stack for embedded devices in Rust.
Core Metrics
| cube2rust | embassy-stm32 | embassy-usb | |
|---|---|---|---|
| Health Score | 33 | 65 | 70 |
| Total Downloads | 1.8K | 400.3K | 639.1K |
| 30d Downloads | 3 | 37.6K | 60.0K |
| Dependents | 0 | 99 | 212 |
| Releases | 1 | 7 | 8 |
| Last Updated | 2125d ago | 7d ago | 7d ago |
| Age | 5y 10m | 4y 11m | 4y 11m |
Health Breakdown
cube2rust
Maintenance
1
Quality
13
Community
6
Popularity
4
Documentation
9
embassy-stm32
Maintenance
16
Quality
13
Community
16
Popularity
7
Documentation
13
embassy-usb
Maintenance
16
Quality
17
Community
17
Popularity
7
Documentation
13
Technical Details
| cube2rust | embassy-stm32 | embassy-usb | |
|---|---|---|---|
| Version | 0.0.1 | 0.6.0 | 0.6.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 53 | 12 |
| Crate Size | 146KB | 575KB | 62KB |
| Features | 0 | 1576 | 20 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 2 (team) | 2 (team) |
Links
Quick Verdict
- •embassy-usb leads with a health score of 70/100, but none of the options score above 80.
- •embassy-usb is depended on by 212 crates — strongest ecosystem trust.
- •⚠ cube2rust has not been updated in over a year.