Crates.io | ron_to_table |
lib.rs | ron_to_table |
version | 0.5.0 |
source | src |
created_at | 2023-04-11 23:10:37.874086 |
updated_at | 2024-11-22 21:22:01.558849 |
description | A library for pretty print RON as a table |
homepage | https://github.com/zhiburt/tabled |
repository | https://github.com/zhiburt/tabled |
max_upload_size | |
id | 836408 |
size | 77,458 |
ron
to a table.It uses tabled
as a rendering backend.
The library supports 2 modes for a table embedded and collapsed. It also provides with a list of options to modify the table, such as style, alignment, padding and more.
You can change an orientation of a map
and sequence
via Orientation
.
You'll find to examples for the modes bellow.
Add the library to a dependency list.
[dependencies]
ron_to_table = "0.1.0"
Example (embedded) | Result |
---|---|
|
|
Example (collapsed) | Result |
---|---|
|
Commit count: 1308
cargo fmt |