utf8-rune
v0.0.2 ExperimentalLightweight crate that aims at being a building block for libraries that work with UTF-8 data. This crate provides the struct Rune which can thought of in some cases as a drop-in replacement to Rust's char type. This crate also provides a few low-level tools to work with raw pointers of bytes and work with a sequence of bytes to produce valid UTF-8 data. The idea of Rune both borrows from and expands Golang's notion of rune such that rather than representing one 32 bits integer, each `utf8_rune::Rune` represents a set of bytes that, when displayed together represent a single visible UTF-8 character.
Quick Verdict
- !Pre-1.0: API may have breaking changes
- ✓Tiny footprint (20KB, 1 deps)
- ✓Permissive license (MIT)
Security
Deep Insights
5 downloads in the last 30 days (0/day avg).
Only 1 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 19KB, utf8-rune is lightweight. Small crate size correlates with focused, well-scoped functionality.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata