Go to file
2019-05-14 15:04:42 +02:00
src Added code to complete config. 2019-05-14 15:04:42 +02:00
.gitignore Initial commit. 2019-05-13 12:54:36 +02:00
Cargo.toml Bumped version to 1.0.0. 2019-05-13 23:09:30 +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 │
// └───┴───┴───┘