# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "mrml"
version = "1.2.0"
authors = ["Jérémie Drouet <jeremie.drouet@gmail.com>"]
include = ["src/*", "Cargo.toml"]
description = "Rust implementation of MJML renderer"
readme = "readme.md"
keywords = ["email", "mjml"]
license-file = "license.md"

[[bench]]
name = "basic"
path = "benches/basic.rs"
harness = false

[[bench]]
name = "template"
path = "benches/template.rs"
harness = false
[dependencies.rand]
version = "0.8"
features = ["std", "std_rng"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.xmlparser]
version = "0.13"
optional = true
[dev-dependencies.criterion]
version = "0.3"

[dev-dependencies.html_parser]
version = "0.6.2"

[features]
default = ["json", "parse", "print", "render"]
json = ["serde", "serde_json"]
parse = ["xmlparser"]
print = []
render = ["rand"]
[badges.codecov]
branch = "main"
repository = "jdrouet/mrml"

[badges.travis-ci]
branch = "main"
repository = "jdrouet/mrml"
