1 个不稳定版本

使用旧的 Rust 2015

0.1.0 2017年8月3日

#121 in 可视化

Download history 10751/week @ 2023-12-18 5956/week @ 2023-12-25 11203/week @ 2024-01-01 16182/week @ 2024-01-08 16487/week @ 2024-01-15 18216/week @ 2024-01-22 25207/week @ 2024-01-29 28379/week @ 2024-02-05 24628/week @ 2024-02-12 22657/week @ 2024-02-19 26289/week @ 2024-02-26 23676/week @ 2024-03-04 16955/week @ 2024-03-11 18136/week @ 2024-03-18 20609/week @ 2024-03-25 15037/week @ 2024-04-01

71,712 每月下载量
用于 9 个crate(直接使用2个)

MIT 许可协议

5KB
72

treeline 构建状态 覆盖率状态

一个用于可视化树形数据的 Rust 库

API 文档

安装

...

用法

在 "examples" 目录下提供了一个示例程序,用于模仿 tree(1) Linux 程序

$ 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

无运行时依赖