Skip to main content

Crate ic_host_text

Crate ic_host_text 

Source
Expand description

Pure text decoding, normalization, terminal-safe rendering and tables.

Callers own schemas, input-byte allowances and output.

Modulesยง

decimal
Exact two-place decimal text without token, unit or output policy.
duration
Positive whole-second duration parsing and compact human-readable display. Callers own deadlines, retention/freshness policy, units in persisted data and IO.
escape
Escape untrusted scalar text without selecting terminal or colour policy.
normalize
Bounded line normalization without grammar, terminal or output policy.
progress
Pure single-line progress frames; callers own terminal admission and output.
table
Unicode display-width alignment over escaped caller-selected cells.
timestamp
Canonical UTC second timestamps without clocks, timezones or freshness policy.
width
Pure clipping to a caller-selected terminal column allowance.