Crates.io | csv_to_table |
lib.rs | csv_to_table |
version | 0.4.0 |
source | src |
created_at | 2023-04-11 23:09:44.239782 |
updated_at | 2023-12-20 01:39:55.520071 |
description | A library for pretty print CSV as a table |
homepage | https://github.com/zhiburt/tabled |
repository | https://github.com/zhiburt/tabled |
max_upload_size | |
id | 836406 |
size | 51,148 |
csv
to a table.It uses tabled
as a rendering backend.
Add the library to a dependency list.
[dependencies]
csv_to_table = "0.3"
There's 2 approaches the library provides.
Example of in memory approach |
---|
|
Result |
|
Example of sniffing approach |
---|
|
Result |
Notice that the last 2 rows are truncated. |