Crates.io | minimal_table |
lib.rs | minimal_table |
version | 0.2.0 |
source | src |
created_at | 2023-11-14 12:32:13.334168 |
updated_at | 2023-11-14 12:43:35.040199 |
description | A minimal table implementation that renders a Vec |
homepage | |
repository | https://github.com/sclausen/minimal_table |
max_upload_size | |
id | 1034690 |
size | 8,410 |
A minimal table implementation that renders a Vec<Vec
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);
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