merman 0.4.0

Rust, headless Mermaid implementation (1:1 parity; pinned to mermaid@11.12.3).
Documentation
# 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.87"
name = "merman"
version = "0.4.0"
authors = ["Mingzhen Zhuang <superfrankie621@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust, headless Mermaid implementation (1:1 parity; pinned to mermaid@11.12.3)."
homepage = "https://github.com/Latias94/merman"
documentation = "https://docs.rs/merman"
readme = "README.md"
keywords = [
    "mermaid",
    "diagrams",
    "svg",
    "parser",
    "headless",
]
categories = [
    "parser-implementations",
    "visualization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Latias94/merman"
resolver = "2"

[package.metadata.docs.rs]
features = ["render"]

[features]
default = []
raster = [
    "render",
    "dep:image",
    "dep:resvg",
    "dep:usvg",
    "dep:tiny-skia",
    "dep:svg2pdf",
]
render = [
    "dep:merman-render",
    "dep:thiserror",
]

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

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

[[bench]]
name = "architecture_layout_stress"
path = "benches/architecture_layout_stress.rs"
harness = false
required-features = ["render"]

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

[[bench]]
name = "flowchart_stress"
path = "benches/flowchart_stress.rs"
harness = false
required-features = ["render"]

[[bench]]
name = "mindmap_layout_stress"
path = "benches/mindmap_layout_stress.rs"
harness = false
required-features = ["render"]

[[bench]]
name = "pipeline"
path = "benches/pipeline.rs"
harness = false
required-features = ["render"]

[dependencies.image]
version = "0.25"
features = ["jpeg"]
optional = true
default-features = false

[dependencies.merman-core]
version = "0.4.0"

[dependencies.merman-render]
version = "0.4.0"
optional = true

[dependencies.resvg]
version = "0.46.0"
optional = true

[dependencies.svg2pdf]
version = "0.13.0"
optional = true

[dependencies.thiserror]
version = "2.0.11"
optional = true

[dependencies.tiny-skia]
version = "0.11.4"
optional = true

[dependencies.usvg]
version = "0.46.0"
optional = true

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

[dev-dependencies.roxmltree]
version = "0.20.0"