Crates.io | csv_to_table |
lib.rs | csv_to_table |
version | 0.6.0 |
source | src |
created_at | 2023-04-11 23:09:44.239782 |
updated_at | 2024-11-22 21:21:37.141916 |
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,555 |
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. |