mufmt 0.1.1

A minimal and extensible runtime formatting library
Documentation

Current crates.io release Documentation

μfmt

μfmt (mufmt) is a minimal and extensible runtime formatting library.

μfmt allows arbitrary types to define a formatting syntax and compiled template format. μfmt also provides a number of built-in formats, backed by data stored in collection types like HashMap or Vec.

Please read the API docs for more detail.

Planned features

  • Add full support for rust format specifiers
  • Allow compiling a template from an io::Write using Ast<'static> implementations.
  • Add a json feature, and decide on an Ast which can query a serde_json::Value.
  • Implement an Ast for function call chains (like { a().b().c() }; or maybe using s-expressions?).