# 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-core"
version = "0.6.0"
authors = ["Mingzhen Zhuang <superfrankie621@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Mermaid parser + semantic model (headless; parity-focused)."
homepage = "https://github.com/Latias94/merman"
documentation = "https://docs.rs/merman-core"
readme = "README.md"
keywords = [
    "mermaid",
    "diagrams",
    "parser",
    "ast",
]
categories = [
    "parser-implementations",
    "visualization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Latias94/merman"
resolver = "2"

[features]
default = ["large-features"]
large-features = []

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

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

[dependencies.chrono]
version = "0.4.40"
features = ["clock"]

[dependencies.euclid]
version = "0.22"

[dependencies.htmlize]
version = "1.0.6"
features = ["unescape"]

[dependencies.indexmap]
version = "2.2.6"
features = ["serde"]

[dependencies.json5]
version = "0.4.1"

[dependencies.lalrpop-util]
version = "0.20.2"

[dependencies.logos]
version = "0.14.4"

[dependencies.lol_html]
version = "2.7.1"

[dependencies.regex]
version = "1.11.1"

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.ryu-js]
version = "1.0.2"

[dependencies.serde]
version = "1.0.217"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.138"
features = ["preserve_order"]

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.thiserror]
version = "2.0.11"

[dependencies.tracing]
version = "0.1.41"

[dependencies.url]
version = "2.5.4"

[dependencies.uuid]
version = "1.12.1"
features = ["v4"]

[dev-dependencies.futures]
version = "0.3.31"

[build-dependencies.lalrpop]
version = "0.20.2"
