# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "mrml" version = "4.0.1" authors = ["Jérémie Drouet "] include = [ "src/*", "Cargo.toml", ] description = "Rust implementation of MJML renderer" readme = "readme.md" keywords = [ "email", "mjml", ] license = "MIT" repository = "https://github.com/jdrouet/mrml/" resolver = "2" [[bench]] name = "basic" path = "benches/basic.rs" harness = false [[bench]] name = "template" path = "benches/template.rs" harness = false [dependencies.async-trait] version = "0.1" optional = true [dependencies.enum-as-inner] version = "0.6.0" optional = true [dependencies.enum_dispatch] version = "0.3.13" optional = true [dependencies.indexmap] version = "2.0" default-features = false [dependencies.itertools] version = "0.13.0" [dependencies.mrml-json-macros] version = "0.1" optional = true [dependencies.reqwest] version = "0.12" features = ["rustls-tls"] optional = true default-features = false [dependencies.rustc-hash] version = "2.0" default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1.0" optional = true [dependencies.ureq] version = "2.7" optional = true [dependencies.url] version = "^2" optional = true [dependencies.xmlparser] version = "0.13" optional = true [dev-dependencies.concat-idents] version = "1.1" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.html-compare] version = "0.1" [dev-dependencies.mockito] version = "1.1" [dev-dependencies.similar-asserts] version = "1.4" [dev-dependencies.tokio] version = "1.0" features = ["full"] [dev-dependencies.tokio-test] version = "0.4" [features] async = ["dep:async-trait"] default = [ "json", "parse", "print", "render", ] http-loader = ["http-loader-ureq"] http-loader-async-reqwest = [ "dep:reqwest", "async", "http-loader-base", ] http-loader-base = [ "parse", "dep:url", ] http-loader-blocking-reqwest = [ "dep:reqwest", "http-loader-base", "reqwest/blocking", ] http-loader-ureq = [ "dep:ureq", "http-loader-base", ] json = [ "dep:mrml-json-macros", "dep:serde", "dep:serde_json", "indexmap/serde", ] local-loader = [] parse = [ "dep:xmlparser", "dep:thiserror", ] print = ["dep:enum_dispatch"] render = [ "dep:enum-as-inner", "dep:thiserror", ] [badges.codecov] branch = "main" repository = "jdrouet/mrml" [badges.travis-ci] branch = "main" repository = "jdrouet/mrml"