Rut is a small UTF-8 decoding library for applications that need to decode individual characters.\ It provides a bytewise decoder, and functions for decoding byte slices.
It is completely no_std
and should provide good performance.[citation needed]
Rut is fully conformant to the specifications and restrictions of the Unicode standard.\ Additionally, it follows W3C's standard for UTF-8 decoding with regards to error signalling.
Tests are largely not implemented yet (aside from documentation examples).\ However, Rut has been extensively fuzzed and passes this stress test for UTF-8 decoders.
Rut began life, and is still used in, [Termiku], a terminal emulator written in Rust.