Crates.io | layouts |
lib.rs | layouts |
version | 0.1.0 |
source | src |
created_at | 2021-09-28 20:46:20.298735 |
updated_at | 2021-09-28 20:46:20.298735 |
description | Conveniently lay out and format your data structures, and decide how to render them separately |
homepage | |
repository | https://github.com/ergorusty/layouts |
max_upload_size | |
id | 457752 |
size | 27,311 |
This crate is currently a work in progress, and doesn't yet have great API entry points, nor very good documentation. Both are forthcoming.
layouts
helps you lay out and format your data structures, and decide how to
render them separately.
This allows you to describe the full structure up front, and deal with the width of your terminal separately.
It will also turn any Rust data structure that supports Serialize
into a
pretty-printable document that can be rendered using layouts
with zero
configuration.
Right now, the only thing layouts
allows you to configure when rendering is
the width of the terminal.
Eventually, this library aspires to offer pluggable renderers that can support: