dmc-codegen 0.3.4

HTML and MDX body emitters for the dmc compiler
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"
name = "dmc-codegen"
version = "0.3.4"
authors = ["gentleduck"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTML and MDX body emitters for the dmc 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"

[features]
bin = [
    "dep:dmc-lexer",
    "dep:dmc-transform",
    "dep:serde_json",
]
default = ["bin"]

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

[[bin]]
name = "codegen"
path = "codegen-samples/codegen.rs"
required-features = ["bin"]

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

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

[dependencies.dmc-diagnostic]
version = "0.3.4"
features = ["codegen"]

[dependencies.dmc-lexer]
version = "0.3.4"
optional = true

[dependencies.dmc-parser]
version = "0.3.4"

[dependencies.dmc-transform]
version = "0.3.4"
optional = true

[dependencies.duck-diagnostic]
version = "0.7.1"

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
optional = true

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