Registry / utility / mrml
library5.1.0rscratesunverified

Rust implementation of the MJML renderer for generating responsive HTML emails.

# Cargo.toml [dependencies] mrml = "5.1.0"
INSTALL
IMPORT
SIG · MRML
M
mrml
utilityrustv5.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

to_html
use mrml::to_html;

Converts MJML to HTML.

use mrml::to_html; fn main() -> Result<(), Box<dyn std::error::Error>> { let mjml = r#"<mjml><mj-body><mj-section><mj-column><mj-text>Hello World</mj-text></mj-column></mj-section></mj-body></mjml>"#; let html = to_html(mjml, &Default::default())?; println!("{}", html); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mrml — cargo add mrml · libregistry