#macro #template #package #component #qtpl

macro qtpl-macros

Macro component of qtpl. Use qtpl instead of this package directly.

9 releases (5 breaking)

0.7.1 Jun 26, 2020
0.7.0 Jun 25, 2020
0.6.0 Jun 24, 2020
0.5.1 Jun 23, 2020
0.2.0 Jun 20, 2020

#780 in #template


Used in qtpl

MIT license

14KB
370 lines

qtpl

Build Crates.io Documentation

See the documentation for how to use this library.

TODO

  • Support more formatting directives
  • Support a directive to explicitly clear whitespace
  • Document pattern for passing children to tplfn
  • child! should support inline tpl! style
  • Support methods in addition to functions in tplfn
  • Support async/await functions (needs anything special?)
  • Support blocks inside string literals (maybe?)

Dependencies

~1.5MB
~36K SLoC