Go to file
2019-05-13 22:58:37 +02:00
src Documentation. 2019-05-13 22:58:37 +02:00
.gitignore Initial commit. 2019-05-13 12:54:36 +02:00
Cargo.toml Documentation. 2019-05-13 22:58:37 +02:00
COPYING Copied code from different project. 2019-05-13 12:59:04 +02:00
readme.md Documentation. 2019-05-13 22:58:37 +02:00

ascii-table

Print ASCII tables to the terminal.

Example

use ascii_table::{TableConfig, print_table};

let config = TableConfig::default();
let data = vec![&[1, 2, 3], &[4, 5, 6], &[7, 8, 9]];
print_table(data, &config);
// ┌───┬───┬───┐
// │ 1 │ 2 │ 3 │
// │ 4 │ 5 │ 6 │
// │ 7 │ 8 │ 9 │
// └───┴───┴───┘