This project is a reimplementation of the nice MJML
markup language in Rust.
```rust use mrml;
fn main() {
let root = mrml::parse("
Node
server rendering a mjml template takes around 20Mo of RAM at startup and 130Mo under stress test. In Rust
, less than 1.7Mo at startup and a bit less that 3Mo under stress test. The Rust
version can also handle 2 times more requests per seconds. You can run the bench by doing bash script/run-bench.sh
.JS
implementation cannot be run in the browser. In Rust
(and Wasm
), you can.Feel free to read our contributing section and the code of conduct.
With the same linux amd64 machine, to render the amario template
To reproduce those results:
example/mjml-bench
run npm start -- ../../resources/template-amario.mjml
cargo bench amario