μ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::WriteusingAst<'static>implementations. - Add a
jsonfeature, and decide on anAstwhich can query aserde_json::Value. - Implement an
Astfor function call chains (like{ a().b().c() }; or maybe using s-expressions?).