Taking much from rockets first example it is very easy to configure a route that returns Dynamic HTML. RDXL and even RDXL Static plays well mostly with any Rocket Project.
src/main.rs
#![feature(decl_macro)]#[macro_use]externcrate rocket;userdxl::xhtml;#[get("/hello/<name>/<age>")]fnhello(name: String, age:u8)-> String{xhtml!(Hello,{{age}} year old named {{name}})}fnmain(){rocket::ignite().mount("/",routes![hello]).launch();}