| Crates.io | utf8char |
| lib.rs | utf8char |
| version | 0.2.0 |
| created_at | 2024-10-26 01:04:39.887154+00 |
| updated_at | 2025-04-15 06:06:42.344262+00 |
| description | A crate that supplies a utf8 encoded char |
| homepage | https://github.com/unicode-entropy/utf8char |
| repository | https://github.com/unicode-entropy/utf8char |
| max_upload_size | |
| id | 1423446 |
| size | 87,953 |
A char encoded as UTF-8, this has multiple advantages over the char primitive and a one codepoint &str.
Encoding and decoding char<->utf8 is expensive, yet common in cases where
the advantages of the char data representation may not matter (see: str::chars() -> transform -> collect::<String>()).