1 unstable release
0.2.0 | Nov 14, 2023 |
---|---|
0.1.0 |
|
#7 in #renders
7KB
123 lines
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