minimal_table

Crates.iominimal_table
lib.rsminimal_table
version0.2.0
sourcesrc
created_at2023-11-14 12:32:13.334168
updated_at2023-11-14 12:43:35.040199
descriptionA minimal table implementation that renders a Vec> to a string table.
homepage
repositoryhttps://github.com/sclausen/minimal_table
max_upload_size
id1034690
size8,410
Sebastian Clausen (sclausen)

documentation

README

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

Commit count: 1

cargo fmt