BurntSushi / jiff

A date-time library for Rust that encourages you to jump into the pit of success.
The Unlicense
1.77k stars 35 forks source link

util: move UTF-8 decoding to its own module #127

Closed BurntSushi closed 2 months ago

BurntSushi commented 2 months ago

This moves UTF-8 decoding from an internal helper in jiff::util::escape to a crate-wide helper in jiff::util::utf8.

This makes it easier for other code to use this. I may end up using it for #111, for example.