3 ms·
This is the right answer. How can you go back to a non-typed world after Rust I don't know. I use html-node which has a typed submodule for even greater strict
by 0atman 3y ago
This is the right answer.
How can you go back to a non-typed world after Rust I don't know.
I use html-node which has a typed submodule for even greater strictness.
I just build some valid html, make a string and write that to the output directory and get on with my life. Eg:
https://github.com/0atman/noboilerplate/ https://github.com/0atman/noboilerplate/
Templates... Rust functions
Flow control... Rust match expression
Abstraction... Rust modules
Html validation... Rust compiler
I like to think that in writing the html-node crate, Vidhan taught the compiler to speak html!
https://lib.rs/crates/html-node https://lib.rs/crates/html-node