Decision Workspace
cxx vs directcpp-macro vs moveref
Side-by-side comparison of Rust crates
74
cxx
stablev1.0.197
Safe interop between Rust and C++
56
directcpp-macro
growingv0.1.18
Direct call cpp from Rust (proc-macro)
53
moveref
growingv1.0.0
Types and traits for safe C++ style placement initialization and move semantics
Core Metrics
| cxx | directcpp-macro | moveref | |
|---|---|---|---|
| Health Score | 74 | 56 | 53 |
| Total Downloads | 69.8M | 14.8K | 6.5K |
| 30d Downloads | 1.9M | 0 | 0 |
| Dependents | 4.2K | 19 | 8 |
| Releases | 244 | 16 | 4 |
| Last Updated | 6d ago | 72d ago | 728d ago |
| Age | 6y 6m | 2y 3m | 2y 11m |
Health Breakdown
cxx
Maintenance
19
Quality
18
Community
14
Popularity
8
Documentation
15
directcpp-macro
Maintenance
15
Quality
14
Community
10
Popularity
5
Documentation
12
moveref
Maintenance
4
Quality
22
Community
9
Popularity
5
Documentation
13
Technical Details
| cxx | directcpp-macro | moveref | |
|---|---|---|---|
| Version | 1.0.197 | 0.1.18 | 1.0.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 WITH LLVM-exception |
| Dependencies | 19 | 6 | 3 |
| Crate Size | 240KB | 22KB | 26KB |
| Features | 6 | 0 | 6 |
| Yanked % | 1.6% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.85 | 1.76 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cxx leads with a health score of 74/100, but none of the options score above 80.
- •cxx is depended on by 4.2K crates — strongest ecosystem trust.
- •⚠ moveref has not been updated in over a year.
- •directcpp-macro is pre-1.0 — API may change.