Tabled [v0.5.0] - An easy to use library for pretty print tables of Rust structs and enums.

143 points zhiburt

https://github.com/zhiburt/tabled

There is a list of main additions.

  • Added more default styles. (Extended, Dots, ReStructuredText)
  • A Style now easier to tweak (I hope)
  • Added an ability to print custom text on top border. (via TopBorderText)
  • An option to MaxWidth::wrapping to not split words (if possible).

Here's an example of changing a predefined style.

use tabled::{TableIteratorExt, Style};

let style = Style::extended()
    .header_off()
    .horizontal_off()
    .top('+');
let table = data.table().with(style);