Repository navigation
What's Changed
Features
- New library API for embedding maram:
MaramOptionsfor configuration (filters, formatting, threads)generate/generate_to_writerfor rendered outputcollect+render/render_to_writerfor separate traversal and formattingrun_tree_outputfor 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_treenow internally usesrun_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