Hacker GitHub

← All repos

askama-rs/askama-old

View on GitHub ↗ ★ 3,530 Rust archived

The original askama repo, please go to https://github.com/askama-rs/askama

10 mentions on Hacker News by 8 people: 1 story, 9 comments · first 2017-03-09 · latest 2023-11-20

Mentions per year 10 mentions · busiest year 2017 (3)
20082026
  1. …apps are made with HTMX. I'd encourage skeptics to try the same before writing it off. [1] https://github.com/djc/askama/pull/824 [2] https://htmx.org/essays/template-fragments/
  2. …fundamental. https://github.com/http-rs/tide tide is great to create an http server / routes https://github.com/djc/askama I use this to template out HTML and it checks all my boxes, dynamic data, passing in functions, control flow.…
  3. …https://www.arewewebyet.org/ for a partial overview. [0]: https://github.com/tomaka/rouille [1]: https://github.com/djc/askama [2]: https://yew.rs/
  4. …whatever else I want. Use askama or tera, for example. Here's an example of using askama with axum: https://github.com/djc/askama/tree/main/askama_axum If you mean something more significant, like what an ORM/query builder is to SQL, then…
    comment by Winsaucerer · 2022-06-04 · in Async Rust doesn't have to be hard
  5. …so in that case, absolutely. You even get compile time checking from Rust libraries like askama: https://github.com/djc/askama
    comment by steve_adams_86 · 2022-04-25 · in Whats New in PHP 8.2
  6. There are many compile-time templates that work on stable: https://github.com/djc/askama , https://github.com/maghoff/bart , https://github.com/kaj/ructe and https://github.com/Stebalien/horrorshow-rs Probably a few others I'm not aware of.
  7. …Askama [2], which I am using from git master in order to be able to use it together with Rocket. https://github.com/djc/askama/issues/71 Eventually I will generate the routes for the included bytes with build.rs again. My new code is…
  8. …particular I don't think it holds true for nom parsers. Here are two examples I've been working on: https://github.com/djc/askama/blob/master/askama_derive/src/... https://github.com/djc/tokio-imap/blob/master/src/parser.rs If you look at…
    comment by dochtman · 2017-08-15 · in Writing parsers like it is 2017
  9. …which tries hard to take the best ideas from Jinja and mash it up with the best ideas from Rust: https://github.com/djc/askama
  10. ▲ 82
    Show HN: Askama – Type-safe, compiled Jinja-like templates for Rust
    story by dochtman · 2017-03-09 · 27 comments