UNIC 0.7.0 is finally out, with new goodies!
In this release, we have many new components, and the first UNIC application:
unic-echo command works similar to the Unix
echo command, but can input/output in various formats, including Unicode codepoints (UTF-32), UTF-16 hex and UTF-8 hex. It can also output Rust literal strings, for when you want to keep your Rust source files free of control or non-ASCII characters.
unic-inspector command is almost unique , only second to Ruby’s uniscribe, by Jan Lelis! It helps you inspect/debug your strings right in the command prompt. (Options for more character properties and algorithms are coming in the next releases.)
As usual, use Cargo to have the new commands at your fingertips:
$ cargo install unic-cli
The Release Notes
UNIC Applications are binary creates hosting in the same repository as
unic super-crate, under the
apps/ directory. These creates are not internal parts of the
unic library, but tools designed and developed for the general audience, also serving as a test bed for the UNIC API. We are starting with CLI applications, and possibly expanding it to GUI and WEB applications, as well.
unic-cli] The new UNIC CLI application provides command-line tools for working with Unicode characters and strings. In this release, first versions of
unic-inspectorcommands are implemented.
unic-ucd-common] Common character properties (alphabetic, alphanumeric, control, numeric, and white_space).
unic-ucd-ident] Unicode Identifier character properties.
unic-ucd-segment] Unicode Segmentation character properties.
unic-emoji-char] Unicode Emoji character properties.
unic-segment] Implementation of Unicode Text Segmentation algorithms (Grapheme Cluster and Word boundaries).
This release was delayed for a couple of cycles, because of the problems with running tests in a workspace with a mix of std and no-std creates. The issue is resolved as of
no_stdfor many of the existing components.
- Bumped minimum Rust to
- Lots of small fixes for data types and internal structure updates.