# 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 = "2021"
name = "inky-core"
version = "2.0.0-beta.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Inky — convert simple HTML into email-safe table markup"
readme = "README.md"
license = "MIT"
repository = "https://github.com/foundation/inky"

[features]
css-inlining = ["css-inline"]
default = []
serialize = [
    "serde",
    "serde_json",
]
templating = [
    "minijinja",
    "serde_json",
]

[lib]
name = "inky_core"
path = "src/lib.rs"

[[test]]
name = "fixtures"
path = "tests/fixtures.rs"

[[test]]
name = "hybrid"
path = "tests/hybrid.rs"

[[test]]
name = "templating"
path = "tests/templating.rs"

[dependencies.css-inline]
version = "0.20"
optional = true
default-features = false

[dependencies.ego-tree]
version = "0.10"

[dependencies.minijinja]
version = "2"
optional = true

[dependencies.regex]
version = "1"

[dependencies.scraper]
version = "0.22"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

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

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1"
