Crate akari

Source

Macros§

insert_entry
object
A macro to create an Object from a literal or expression. It can handle dictionaries, lists, booleans, strings, and numeric values.
parse_bytes
Macro to take a bytes slice, build the arguments HashMap, and call parse_initernal.
parse_file
Macro to read a file, build the arguments HashMap, and call parse_initernal.
parse_string
Macro to take any value that can be converted into a String, convert it into a byte vector, build the arguments HashMap, and call parse_initernal.

Structs§

TemplateManager
Manages template loading, caching, and rendering

Enums§

Object
Token

Functions§

compile
render
Renders a template string with provided data
render_file
Renders a template file with provided data