Crates.io | ron_to_table |
lib.rs | ron_to_table |
version | 0.3.0 |
source | src |
created_at | 2023-04-11 23:10:37.874086 |
updated_at | 2023-12-20 01:40:26.28271 |
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,012 |
ron
to a table.It uses tabled
as a rendering backend.
The library supports 2 modes for a table embeded 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 (embeded) | Result |
---|---|
|
|
Example (collapsed) | Result |
---|---|
|
Commit count: 1166
cargo fmt |