Decision Workspace
cube2rust vs embassy-stm32 vs nucleus-compiler
Side-by-side comparison of Rust crates
33
cube2rust
growingv0.0.1
A tool for generating a rust project from a STM32CubeMX ioc file
60
embassy-stm32
growingv0.6.0
Embassy Hardware Abstraction Layer (HAL) for ST STM32 series microcontrollers
49
nucleus-compiler
experimentalv0.2.0
Nucleus pinmux compiler: stm32.toml parsing, hardware constraint solving, and HAL codegen
Core Metrics
| cube2rust | embassy-stm32 | nucleus-compiler | |
|---|---|---|---|
| Health Score | 33 | 60 | 49 |
| Total Downloads | 1.8K | 569.0K | 121 |
| 30d Downloads | 0 | 31.6K | 0 |
| Dependents | 0 | 140 | 11 |
| Releases | 1 | 7 | 3 |
| Last Updated | 2233d ago | 115d ago | 13d ago |
| Age | 6y 1m | 5y 2m | 1m |
Health Breakdown
cube2rust
Maintenance
1
Quality
13
Community
6
Popularity
4
Documentation
9
embassy-stm32
Maintenance
10
Quality
13
Community
17
Popularity
7
Documentation
13
nucleus-compiler
Maintenance
13
Quality
13
Community
9
Popularity
2
Documentation
12
Technical Details
| cube2rust | embassy-stm32 | nucleus-compiler | |
|---|---|---|---|
| Version | 0.0.1 | 0.6.0 | 0.2.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 | 4 |
| Crate Size | 146KB | 575KB | 53KB |
| Features | 0 | 1576 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •embassy-stm32 leads with a health score of 60/100, but none of the options score above 80.
- •embassy-stm32 is depended on by 140 crates — strongest ecosystem trust.
- •⚠ cube2rust has not been updated in over a year.