MRML

Crates.io Crates.io

Build Status codecov

Maintainability

Introduction

This project is a reimplementation of the nice MJML markup language in Rust.

How to use it

```rust use mrml;

fn main() { let root = mrml::parse("").expect("parse template"); let opts = mrml::prelude::render::Options::default(); match root.render(&opts) { Ok(content) => println!("{}", content), Err(_) => println!("couldn't render mjml template"), }; } ```

Why?

You want to contribute?

Feel free to read our contributing section and the code of conduct.

Performance

With the same linux amd64 machine, to render the amario template

To reproduce those results: