mdcast 0.1.0

Markdown → DOCX/ODT/PDF/PPTX/HTML-reveal with per-page layout templates, powered by pandoc and typst
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 = "mdcast"
version = "0.1.0"
authors = ["Martin Miksanik <miksanik@gmail.com>"]
build = false
exclude = [
    ".claude/",
    "PROJECT_PLAN.md",
    "examples/dump_pandoc_input.rs",
    "examples/dump_typst_driver.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Markdown → DOCX/ODT/PDF/PPTX/HTML-reveal with per-page layout templates, powered by pandoc and typst"
homepage = "https://github.com/xmiksay/mdcast"
documentation = "https://docs.rs/mdcast"
readme = "README.md"
keywords = [
    "markdown",
    "pandoc",
    "typst",
    "slides",
    "document",
]
categories = [
    "text-processing",
    "template-engine",
    "command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/xmiksay/mdcast"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = [
    "pandoc",
    "typst",
]
pandoc = []
typst = [
    "dep:typst",
    "dep:typst-pdf",
    "dep:typst-as-lib",
]

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

[[bin]]
name = "mdcast"
path = "src/bin/mdcast.rs"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.futures]
version = "0.3"

[dependencies.pulldown-cmark]
version = "0.13"
default-features = false

[dependencies.regex]
version = "1"

[dependencies.rust-embed]
version = "8"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.9"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.typst]
version = "0.14"
optional = true

[dependencies.typst-as-lib]
version = "0.15"
features = [
    "typst-kit-fonts",
    "typst-kit-embed-fonts",
]
optional = true

[dependencies.typst-pdf]
version = "0.14"
optional = true

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "time",
]