10 releases

0.5.1 Jul 25, 2024
0.5.0 Jul 9, 2024
0.4.1 Mar 15, 2023
0.4.0 Apr 7, 2022
0.2.3 Oct 26, 2021

#8 in Visualization

Download history 595062/week @ 2024-11-30 703241/week @ 2024-12-07 639230/week @ 2024-12-14 261386/week @ 2024-12-21 336069/week @ 2024-12-28 665460/week @ 2025-01-04 765314/week @ 2025-01-11 655746/week @ 2025-01-18 721543/week @ 2025-01-25 780758/week @ 2025-02-01 876988/week @ 2025-02-08 812723/week @ 2025-02-15 917867/week @ 2025-02-22 951569/week @ 2025-03-01 981859/week @ 2025-03-08 809564/week @ 2025-03-15

3,823,384 downloads per month
Used in 2,829 crates (40 directly)

MIT license

19KB
308 lines

termtree Main

Visualize tree-like data on the command-line

API documentation

Example

An example program is provided under the "examples" directory to mimic the tree(1) linux program

$ cargo run --example tree target
    Finished debug [unoptimized + debuginfo] target(s) in 0.0 secs
     Running `target/debug/examples/tree target`
target
└── debug
    ├── .cargo-lock
    ├── .fingerprint
    |   └── termtree-21a5bdbd42e0b6da
    |       ├── dep-example-tree
    |       ├── dep-lib-termtree
    |       ├── example-tree
    |       ├── example-tree.json
    |       ├── lib-termtree
    |       └── lib-termtree.json
    ├── build
    ├── deps
    |   └── libtermtree.rlib
    ├── examples
    |   ├── tree
    |   └── tree.dSYM
    |       └── Contents
    |           ├── Info.plist
    |           └── Resources
    |               └── DWARF
    |                   └── tree
    ├── libtermtree.rlib
    └── native

License

Licensed under MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

No runtime deps