tree-rs

Crates.iotree-rs
lib.rstree-rs
version0.6.5
sourcesrc
created_at2017-01-26 18:39:55.847215
updated_at2018-05-28 17:48:16.434707
descriptiontree-rs is a cross platform reimplementation of the linux *tree* command. It supports colored output and specifying the number of directory levels it should search.
homepage
repositoryhttps://github.com/sighol/tree-rs
max_upload_size
id8231
size19,098
Sigurd Holsen (sighol)

documentation

README

Crates.io

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.

Commit count: 96

cargo fmt