# 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"
rust-version = "1.74.1"
name = "pulldown-latex"
version = "0.7.1"
authors = ["Charles Edward Gagnon"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pull parser to convert LaTeX equations to MathML"
readme = "README.md"
keywords = [
    "latex",
    "mathml",
    "parser",
]
categories = [
    "parsing",
    "parser-implementations",
    "mathematics",
]
license = "MIT"
repository = "https://github.com/Carlosted/pulldown-latex"

[package.metadata.docs.rs]
cargo-args = [
    "-Zunstable-options",
    "-Zrustdoc-scrape-examples",
]
rustdoc-args = ["--generate-link-to-definition"]

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

[[example]]
name = "write_to_string"
path = "examples/write_to_string.rs"
doc-scrape-examples = true

[[test]]
name = "cross-browser"
path = "tests/cross-browser.rs"
harness = false

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

[[test]]
name = "latexml"
path = "tests/latexml.rs"
harness = false

[[test]]
name = "mozilla"
path = "tests/mozilla.rs"
harness = false

[[test]]
name = "wikipedia"
path = "tests/wikipedia.rs"
harness = false

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

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

[dependencies.bumpalo]
version = "3.16"
features = ["collections"]

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

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.fantoccini]
version = "0.21"

[dev-dependencies.heck]
version = "0.5"

[dev-dependencies.inventory]
version = "0.3"

[dev-dependencies.libtest-mimic]
version = "0.8.1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "test-util",
    "rt-multi-thread",
    "process",
    "fs",
]

[target."cfg(any())".dependencies.regex]
version = "1.5.1"
optional = true
