utf8-width

crates.io v0.1.8

889,915 weekly downloads · 0 Dependencies

Zero dependencies

Source data as of:

Summary

To determine the width of a UTF-8 character by providing its first byte.

Install cargo add utf8-width

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 889,915 Source: crates.io (Rust)
Releases 9 Last release: 2025-11-23 Source: crates.io (Rust)
Dependencies 0 Source: crates.io (Rust)

Description

To determine the width of a UTF-8 character by providing its first byte.

Registry-supplied description, cleaned to plain text. Source: crates.io (Rust).

Package details

Package
utf8-width
Registry
crates.io
Version
0.1.8
Weekly downloads
889,915 (weekly)
Dependencies
0
Releases
9
Last release
2025-11-23
First published
2020-06-25
Keywords
utf-8, width, character, length
Homepage
https://magiclen.org/utf8-width
Repository
https://github.com/magiclen/utf8-width

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 6.5 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 7.3 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 25.4 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources