Decision Workspace
byte-strings vs c_str vs ffi-pool
Side-by-side comparison of Rust crates
48
byte-strings
growingv0.3.1
Rust byte strings manipulation, for a better and safer C FFI
44
c_str
growingv1.0.8
The old c_str functions
40
ffi-pool
growingv0.1.1
Object pool types useful for FFI code.
Core Metrics
| byte-strings | c_str | ffi-pool | |
|---|---|---|---|
| Health Score | 48 | 44 | 40 |
| Total Downloads | 564.4K | 24.3K | 8.0K |
| 30d Downloads | 25.3K | 13 | 39 |
| Dependents | 69 | 14 | 2 |
| Releases | 10 | 9 | 2 |
| Last Updated | 1019d ago | 3759d ago | 3108d ago |
| Age | 7y 1m | 11y 2m | 8y 6m |
Health Breakdown
byte-strings
Maintenance
4
Quality
12
Community
11
Popularity
7
Documentation
14
c_str
Maintenance
4
Quality
21
Community
6
Popularity
5
Documentation
8
ffi-pool
Maintenance
3
Quality
14
Community
7
Popularity
5
Documentation
11
Technical Details
| byte-strings | c_str | ffi-pool | |
|---|---|---|---|
| Version | 0.3.1 | 1.0.8 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Zlib OR MIT OR Apache-2.0 | Apache-2.0/MIT | MPL-2.0 |
| Dependencies | 1 | 0 | 4 |
| Crate Size | 11KB | 10KB | 8KB |
| Features | 3 | 0 | 0 |
| Yanked % | 20.0% | 0.0% | 0.0% |
| Edition | 2018 | — | — |
| MSRV | 1.65.0 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •byte-strings leads with a health score of 48/100, but none of the options score above 80.
- •⚠ byte-strings, c_str, ffi-pool have not been updated in over a year.
- •byte-strings, ffi-pool are pre-1.0 — API may change.