render_as_tree 0.2.1

Library for visualizing tree data structures via text
Documentation
  • Coverage
  • 100%
    6 out of 6 items documented2 out of 4 items with examples
  • Size
  • Source code size: 9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.14 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • hibachrach/render_as_tree
    5 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • hibachrach

render_as_tree

What is it

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).