# 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 = "2024"
rust-version = "1.85"
name = "damascene-markdown"
version = "0.4.3"
authors = ["Christian Balcom <robot.inventor@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Damascene — markdown to El tree transformer"
homepage = "https://github.com/computer-whisperer/damascene"
readme = "README.md"
keywords = [
    "ui",
    "gui",
    "markdown",
    "renderer",
]
categories = [
    "gui",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/computer-whisperer/damascene"

[features]
default = ["highlighting"]
highlighting = [
    "dep:syntect",
    "dep:two-face",
]
html = ["dep:damascene-html"]

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

[[example]]
name = "markdown_basic"
path = "examples/markdown_basic.rs"

[[example]]
name = "markdown_math"
path = "examples/markdown_math.rs"

[[example]]
name = "markdown_math_stress"
path = "examples/markdown_math_stress.rs"

[dependencies.damascene-core]
version = "0.4.3"
default-features = false

[dependencies.damascene-html]
version = "0.4.3"
optional = true

[dependencies.pulldown-cmark]
version = "0.13.3"
default-features = false

[dependencies.syntect]
version = "5.3"
features = [
    "parsing",
    "default-syntaxes",
    "regex-fancy",
    "dump-load",
]
optional = true
default-features = false

[dependencies.two-face]
version = "0.5"
features = ["syntect-fancy"]
optional = true
default-features = false

[dev-dependencies.damascene-core]
version = "0.4.3"
