Decision Workspace
bystr vs stack-cstr vs embedded-ffi
Side-by-side comparison of Rust crates
36
bystr
growingv0.1.3
macro to create compile-time, fixed length, byte array from a string
47
stack-cstr
experimentalv0.2.0
High-performance stack-to-heap C string creation for Rust with FFI support
42
embedded-ffi
growingv0.1.2
OsStr and OsString for embedded usage
Core Metrics
| bystr | stack-cstr | embedded-ffi | |
|---|---|---|---|
| Health Score | 36 | 47 | 42 |
| Total Downloads | 6.0K | 1.4K | 11.1K |
| 30d Downloads | 6 | 7 | 304 |
| Dependents | 0 | 0 | 9 |
| Releases | 4 | 5 | 3 |
| Last Updated | 2310d ago | 93d ago | 2491d ago |
| Age | 6y 4m | 7m | 6y 10m |
Health Breakdown
bystr
Maintenance
4
Quality
15
Community
3
Popularity
5
Documentation
9
stack-cstr
Maintenance
13
Quality
14
Community
6
Popularity
4
Documentation
10
embedded-ffi
Maintenance
3
Quality
16
Community
9
Popularity
5
Documentation
9
Technical Details
| bystr | stack-cstr | embedded-ffi | |
|---|---|---|---|
| Version | 0.1.3 | 0.2.0 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | GPL-3.0-or-later | GPL-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 2 | 1 |
| Crate Size | 14KB | 13KB | 12KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •stack-cstr leads with a health score of 47/100, but none of the options score above 80.
- •embedded-ffi has the most downloads (11.1K), suggesting wider adoption.
- •⚠ bystr, embedded-ffi have not been updated in over a year.