Registry / utility / wtf8
library0.1.0rscratesunverified

Implementation of the WTF-8 encoding for handling potentially ill-formed UTF-8 sequences.

# Cargo.toml [dependencies] wtf8 = "0.1.0"
INSTALL
IMPORT
SIG · WTF8
W
wtf8
utilityrustv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Wtf8Buf
use wtf8::Wtf8Buf;

Create a WTF-8 buffer from a string.

use wtf8::Wtf8Buf; fn main() { let buf = Wtf8Buf::from_string("hello"); println!("WTF-8 buffer: {:?}", buf); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
wtf8 — cargo add wtf8 · libregistry