maram 0.2.0

A modern, high-performance alternative to the Unix tree command
Documentation
1
2
3
4
5
6
7
8
use maram::{generate, MaramOptions, OutputFormat};

fn main() -> maram::Result<()> {
    let options = MaramOptions { output: OutputFormat::Json, ..Default::default() };
    let out = generate(".", &options)?;
    println!("{}", out);
    Ok(())
}