tbltyp 0.1.1

Table string typewriter.
Documentation
  • Coverage
  • 66.67%
    2 out of 3 items documented0 out of 0 items with examples
  • Size
  • Source code size: 12.56 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.3 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 25s Average build duration of successful builds.
  • all releases: 25s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • xpepermint/tbltyp
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • xpepermint

Table string typewriter.

This library is for creating formatted string tables. It honors ANSI and Unicode characters thus you can safely use colors and other ANSI styles in columns. This typewriter is primarily meant for command-line purposes but you can use it for general string manipulation as well.

Example

let column = Column::new()
    .set_width(20)
    .set_text("Hello world!")
    .set_text_pad('+');
let row = Row::new()
    .add_column(column)
    .to_string();