[package]
edition = "2024"
name = "markdoc-pdf"
version = "0.11.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Render Markdoc documents to PDF, as a CLI or a library"
readme = "README.md"
license = "MIT"
repository = "https://github.com/markdoc-rs/markdoc-pdf"
[features]
default = ["mermaid"]
mermaid = ["dep:markdoc-mermaid"]
[lib]
name = "markdoc_pdf"
path = "src/lib.rs"
[[bin]]
name = "markdoc-pdf"
path = "src/main.rs"
[[test]]
name = "control_flow"
path = "tests/control_flow.rs"
[[test]]
name = "last_page_qr"
path = "tests/last_page_qr.rs"
[[test]]
name = "mermaid_tag"
path = "tests/mermaid_tag.rs"
[[test]]
name = "parley_krilla_spike"
path = "tests/parley_krilla_spike.rs"
[[test]]
name = "per_element_fonts"
path = "tests/per_element_fonts.rs"
[[test]]
name = "tag_aliases"
path = "tests/tag_aliases.rs"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.hyphenation]
version = "0.8"
features = ["embed_en-us"]
default-features = false
[dependencies.krilla]
version = "0.8"
[dependencies.krilla-svg]
version = "0.8"
[dependencies.markdoc]
version = "0.1.0"
[dependencies.markdoc-mermaid]
version = "0.2.1"
optional = true
[dependencies.parley]
version = "0.11"
[dependencies.qrcodegen]
version = "1.8.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.time]
version = "0.3"
features = [
"std",
"local-offset",
"parsing",
"macros",
]
default-features = false
[dependencies.toml]
version = "1.1"
[dependencies.ureq]
version = "3"
features = ["rustls"]
default-features = false
[dependencies.usvg]
version = "0.47"