13 releases
Uses old Rust 2015
0.6.5 | May 28, 2018 |
---|---|
0.6.4 | Jul 5, 2017 |
0.6.3 | Jun 1, 2017 |
0.5.0 | Jan 30, 2017 |
#119 in #level
53 downloads per month
17KB
466 lines
Tree-rs
Tree-rs tries to create a cross-platform alternative to the unix tree
command.
The goal is to be compatible with its command line arguments.
tree-rs
has been tested on Linux and Windows 7.
Example output
.
├── Cargo.lock
├── Cargo.toml
├── README.md
├── src
│ ├── filter.rs
│ ├── main.rs
│ └── pathiterator.rs
└── timer.py
1 directories, 7 files
Installation
From crates.io
cargo install tree-rs
From github
git clone https://github.com/sighol/tree-rs
cd tree-rs
cargo install
Performance
On linux it is a bit faster than the tree
command.
Based on a simple benchmark (see timer.py
), it is about 10% faster.
Dependencies
~4–6MB
~97K SLoC