Projetos
Ver no GitHub
Projects Using
vidhanio/hypertext
Sobre
Um crate de macros HTML extremamente rápido e com verificação de tipos.
Desenvolvimento web e de aplicativosO que você pode fazer
- Compile-time type checking for element names/attributes, including extensible support for custom frameworks like htmx and Alpine.js
- #![no_std] support
- Extremely fast, using lazy rendering to minimize allocation
- Integration with all major web frameworks
Crescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- +1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalhypertext
A blazing fast type checked HTML macro crate.
Features
- Compile-time type checking for element names/attributes, including extensible support for custom frameworks like htmx and Alpine.js
#![no_std]support- Extremely fast, using lazy rendering to minimize allocation
- Integration with all major web frameworks
Example
use hypertext::prelude::*;
let shopping_list = ["milk", "eggs", "bread"];
let shopping_list_maud = maud! {
div {
h1 { "Shopping List" }
ul {
@for (i, item) in (1..).zip(shopping_list) {
li.item {
input #{ "item-" (i) } type="checkbox";
label for={ "item-" (i) } { (item) }
}
}
}
}
}
.render();
// or, alternatively:
let shopping_list_rsx = rsx! {
<div>
<h1>Shopping List</h1>
<ul>
@for (i, item) in (1..).zip(shopping_list) {
<li class="item">
<input id={ "item-" (i) } type="checkbox">
<label for={ "item-" (i) }>(item)</label>
</li>
}
</ul>
</div>
}
.render();
Projects Using hypertext
- vidhan.io (my website!)
- Lipstick on a pig -- a website for hosting volunteer-built tarballs for KISS Linux
Make a pull request to list your project here!
Explore projetos relacionados
Carregando…