6 releases
| 1.0.0-beta.6 | Nov 3, 2025 |
|---|---|
| 1.0.0-beta.5 | Oct 8, 2024 |
| 1.0.0-beta.4 | May 27, 2022 |
| 1.0.0-beta.3 | Nov 10, 2021 |
| 1.0.0-beta.2 | Aug 19, 2021 |
#1533 in Encoding
47KB
1K
SLoC
String implementation optimized for small sized strings(at most length mem::size_of::<usize>() * 2 - 2)
Features
serde- EnablesSerializeandDeserializeimplementations.std- Enables traits implementations dependent onstd.
Missing functions
String::from_utf8- due tominivecyet to be stable.String::from_utf8_unchecked- due tominivecyet to be stable.String::into_bytes- due tominivecyet to be stable.- Unstable functions of String - due to them being potentially changed.
String::from_raw_parts- cannot be implemented due to internal structure.
stroka
Small String optimization for Rust.
Dependencies
~120–270KB