Skip to content

v0.2.0 - Library API + docs + examples

Latest

Choose a tag to compare

@mufeedvh mufeedvh released this 08 Aug 12:54

What's Changed

Features

  • New library API for embedding maram:
    • MaramOptions for configuration (filters, formatting, threads)
    • generate/generate_to_writer for rendered output
    • collect + render/render_to_writer for separate traversal and formatting
    • run_tree_output for CLI behavior without stdout side-effects
  • Writer-based formatting (write_tree, write_json, write_csv, write_plain, write_total_size, write_distribution)
  • New examples: basic, json, filters, writer, all

CLI

  • run_tree now internally uses run_tree_output; behavior remains unchanged

Docs

  • Updated README with a full "Use as a Library" section and examples

Quality

  • Codebase formatted and clippy-clean
  • Tests and examples passing

Full Changelog: v0.1.1...v0.2.0