Decision Workspace
wchar vs widestring vs hadris-fixed
Side-by-side comparison of Rust crates
45
wchar
growingv0.11.1
Procedural macros for compile time UTF-16 and UTF-32 wide strings.
60
widestring
growingv1.2.1
A wide string Rust library for converting to and from wide strings, such as those often used in Windows API or other FFI libaries. Both `u16` and `u32` string types are provided, including support for UTF-16 and UTF-32, malformed encoding, C-style strings, etc.
60
hadris-fixed
experimentalv2.5.0
Fixed-capacity byte and text types for no-std applications
Core Metrics
| wchar | widestring | hadris-fixed | |
|---|---|---|---|
| Health Score | 45 | 60 | 60 |
| Total Downloads | 1.2M | 115.8M | 14.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 36 | 3.1K | 40 |
| Releases | 13 | 18 | 10 |
| Last Updated | 833d ago | 366d ago | 7d ago |
| Age | 8y 3m | 10y 8m | 2m |
Health Breakdown
wchar
Maintenance
4
Quality
13
Community
9
Popularity
7
Documentation
12
widestring
Maintenance
6
Quality
19
Community
15
Popularity
8
Documentation
12
hadris-fixed
Maintenance
14
Quality
19
Community
10
Popularity
5
Documentation
12
Technical Details
| wchar | widestring | hadris-fixed | |
|---|---|---|---|
| Version | 0.11.1 | 1.2.1 | 2.5.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 5 | 3 | 1 |
| Crate Size | 15KB | 90KB | 5KB |
| Features | 2 | 4 | 3 |
| Yanked % | 7.7% | 5.6% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | 1.58 | 1.88.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •widestring leads with a health score of 60/100, but none of the options score above 80.
- •widestring is depended on by 3.1K crates — strongest ecosystem trust.
- •⚠ wchar, widestring have not been updated in over a year.
- •wchar is pre-1.0 — API may change.