Latest / Developer tools

string-width

github.com · Package · Quiet

Rust crate for accurate Unicode display width in terminal text

Visit github.com ↗Share

Stars
0
Forks
0
Open issues
0
Last commit
Found
14 months ago

GitHub figures as of . They are context, not a ranking.

string-width is a Rust library that calculates how many terminal columns a string occupies, accounting for emoji sequences, East Asian characters, combining marks and ANSI escape codes. It follows Unicode recommendations and offers configurable handling of ambiguous-width characters, which suits terminal UI developers.

What it does

  • Column width for emoji and multi-codepoint sequences
  • East Asian wide character support
  • Configurable handling of ambiguous-width characters
  • Handles ANSI escape codes, configurable as needed

Good for

  • Align table columns that contain CJK text or emoji
  • Measure the visible width of styled terminal output

Suits: Rust developers building terminal user interfaces.

What you can try

Add the string-width crate from crates.io to a Rust project.

Install

cargo install string-width

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw string-width on , when it was first published on crates.io. GitHub listed no published releases for sabry-awad97/string-width when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Found: it was first published on crates.io. crates.io
  2. Repository created on GitHub: sabry-awad97/string-width
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was string-width released?
No dated release record is available. Kip found it on crates.io on 7 Sep 2025.
Is string-width open source?
Its source is public on GitHub at sabry-awad97/string-width under the Apache-2.0 licence.
What does string-width run on?
Library.
Is string-width free?
It is open source, so the code is free to read and run; check the licence for terms.
Is string-width still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
crates.iolisting
official API record
GitHub repositorysabry-awad97/string-width
REST API record
GitHub Releasesrelease list
REST API record

Stable ID crates-string-width. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.