[package]
edition = "2024"
name = "dmc-parser"
version = "0.3.5"
authors = ["gentleduck"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed AST parser for the dmc MDX compiler"
homepage = "https://github.com/gentleeduck/duck-mc"
documentation = "https://github.com/gentleeduck/duck-mc/tree/master/dmc-docs"
readme = "README.md"
keywords = [
"mdx",
"markdown",
"compiler",
"velite",
"dmc",
]
categories = [
"compilers",
"parser-implementations",
"text-processing",
]
license = "MIT"
repository = "https://github.com/gentleeduck/duck-mc"
[lib]
name = "dmc_parser"
path = "src/lib.rs"
[[bin]]
name = "parse"
path = "parse-samples/parse.rs"
[[test]]
name = "ast_smoke"
path = "tests/ast_smoke.rs"
[[test]]
name = "autolink"
path = "tests/autolink.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "breaks"
path = "tests/breaks.rs"
[[test]]
name = "commonmark_spec"
path = "tests/commonmark_spec.rs"
[[test]]
name = "diagnostics"
path = "tests/diagnostics.rs"
[[test]]
name = "fuzz_smoke"
path = "tests/fuzz_smoke.rs"
[[test]]
name = "gfm"
path = "tests/gfm.rs"
[[test]]
name = "gfm_spec"
path = "tests/gfm_spec.rs"
[[test]]
name = "html_blocks"
path = "tests/html_blocks.rs"
[[test]]
name = "indented_code"
path = "tests/indented_code.rs"
[[test]]
name = "inline"
path = "tests/inline.rs"
[[test]]
name = "jsx"
path = "tests/jsx.rs"
[[test]]
name = "lists"
path = "tests/lists.rs"
[[test]]
name = "setext"
path = "tests/setext.rs"
[[test]]
name = "structure"
path = "tests/structure.rs"
[[test]]
name = "tables"
path = "tests/tables.rs"
[[bench]]
name = "parse"
path = "benches/parse.rs"
harness = false
[dependencies.dmc-diagnostic]
version = "0.3.5"
features = [
"lexer",
"parser",
]
[dependencies.dmc-lexer]
version = "0.3.5"
[dependencies.duck-diagnostic]
version = "0.7.1"
[dependencies.htmlentity]
version = "1.3"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.slug]
version = "0.1"
[dependencies.unicode-general-category]
version = "1.1.0"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.pretty_assertions]
version = "1"