softprops / treeline   0.1.0

MIT License GitHub

rust in trees

Scala versions: 2.10

treeline Main

a rust library for visualizing tree like data

API documentation

install

Add the following to your Cargo.toml

[dependencies]
treeline = "0.1"

usage

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
    │   └── treeline-21a5bdbd42e0b6da
    │       ├── dep-example-tree
    │       ├── dep-lib-treeline
    │       ├── example-tree
    │       ├── example-tree.json
    │       ├── lib-treeline
    │       └── lib-treeline.json
    ├── build
    ├── deps
    │   └── libtreeline.rlib
    ├── examples
    │   ├── tree
    │   └── tree.dSYM
    │       └── Contents
    │           ├── Info.plist
    │           └── Resources
    │               └── DWARF
    │                   └── tree
    ├── libtreeline.rlib
    └── native

Doug Tangren (softprops) 2017