minimal_table 0.2.0

A minimal table implementation that renders a Vec<Vec<String>> to a string table.
Documentation
  • Coverage
  • 25%
    1 out of 4 items documented1 out of 2 items with examples
  • Size
  • Source code size: 7.94 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.34 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • sclausen/minimal_table
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sclausen

Minimal Table

A minimal table implementation that renders a Vec<Vec> to a string table.

Examples

use minimal_table::TableRenderer;

let data = vec![
    vec!["Header 1".to_string(), "Header 2".to_string()],
    vec!["Row1".to_string(), "Row1Col2".to_string()],
];
let table = TableRenderer::render(&data);
println!("{}", table);

Contributing

Contributions are welcome but keep in mind, that this should be a minimal library. If you would've expected a full featured amazing table library, please consider using Stanza

License

MIT