docs.rs failed to build term-table-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
term-table-1.3.2
term-table-rs
The purpose of term-table-rs is to make displaying table data in CLI apps easier
Here is an example of how to create a table
let mut table = new;
table.max_column_width = 40;
table.style = extended;
table.add_row;
table.add_row;
table.add_row;
table.add_row;
println!;
Here's the result
Table Styles
It is possible to define your own table styles by creating a new instance of TableStyle
This is what the extend table style implementation looks like. This is the defualy style in term-table-rs
TableStyle
also implements a simple()
table style function and a blank()
table style function
Those styles looks like this