crispinb / slurpgit

Get my stuff from Github
0 stars 0 forks source link

Investigate Rust html generation #8

Open crispinb opened 1 year ago

crispinb commented 1 year ago

Libraries? Templates? jsx-ish?

crispinb commented 1 year ago

quick-xml + serde?

https://docs.rs/quick-xml/latest/quick_xml/se/index.html https://docs.rs/quick-xml/latest/quick_xml/de/ https://www.reddit.com/r/rust/comments/13cj9zb/comment/jjhwkiq/?context=3 (for quick-xml hints)

crispinb commented 1 year ago

html generation/building libraries ordered roughly by usage (all-time dl, recent repo activity):

https://docs.rs/html/latest/html/

generated from html spec

https://github.com/skubalj/build_html

https://docs.rs/typed-html/latest/typed_html/

https://crates.io/crates/html-builder

crispinb commented 1 year ago

Or template engines:

https://tera.netlify.app/

https://github.com/djc/askama

https://news.ycombinator.com/item?id=23354187 compiled

https://github.com/lambda-fairy/maud

https://lambda.xyz/blog/maud-is-fast/

crispinb commented 1 year ago

https://github.com/render-rs/render.rs https://github.com/stoically/syn-rsx/tree/main/examples/html-to-string-macro