WebApp in Rust- Handlebars with Rocket

Does anyone know how to integrate Handlebars templating engine with Rocket? How to communicate with .html.hbs file?

Ideal example: How to pass a vector from .rs to .html.hbs and print all elements in <li> </li> using {{#each}} ?

Help appreciated!!

Do any of these crates help?

The Rocket repo also includes an example using handlebars templates:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.