Crates.io | render_as_tree |
lib.rs | render_as_tree |
version | 0.2.1 |
source | src |
created_at | 2023-04-25 03:46:19.006388 |
updated_at | 2023-05-01 06:51:56.728095 |
description | Library for visualizing tree data structures via text |
homepage | https://github.com/hibachrach/render_as_tree |
repository | https://github.com/hibachrach/render_as_tree |
max_upload_size | |
id | 848182 |
size | 9,311 |
render_as_tree
It's a library that allows you to visualize tree data structures in Rust with
output like tree(1)
. For example,
Parent
├── Child 1
├── Child 2
│ ├── Grandchild 1
│ └── Grandchild 2
└── Child 3
This crate was extracted from ruut, a CLI intended for doing the same thing. See that repo if you're interested in executing a tree visualizer from the commandline or for something that can process common serialized data types (e.g. JSON).