md2any 0.3.0

Markdown → PowerPoint, OpenDocument Impress, PDF, Word, Writer, HTML, SVG, and PNG. One markdown source, one small Rust binary.
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 = "2021"
rust-version = "1.74"
name = "md2any"
version = "0.3.0"
authors = ["javaperformance"]
build = false
exclude = [
    "/.github",
    "/scripts",
    "/tests/snapshots/*.actual.snap",
    "/target",
    "/examples/*.pptx",
    "/examples/*.pdf",
    "/examples/*.odp",
    "/examples/*.docx",
    "/examples/*.odt",
    "/docs/manual",
    "/examples/assets/*.png",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Markdown → PowerPoint, OpenDocument Impress, PDF, Word, Writer, HTML, SVG, and PNG. One markdown source, one small Rust binary."
homepage = "https://github.com/javaperformance/md2any"
documentation = "https://docs.rs/md2any"
readme = "README.md"
keywords = [
    "markdown",
    "presentation",
    "powerpoint",
    "pptx",
    "pdf",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/javaperformance/md2any"

[features]
default = [
    "remote-images",
    "svg",
]
remote-images = ["ureq"]
svg = [
    "resvg",
    "usvg",
    "tiny-skia",
]

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

[[bin]]
name = "md2any"
path = "src/main.rs"

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.flate2]
version = "1"

[dependencies.pulldown-cmark]
version = "0.10"

[dependencies.resvg]
version = "0.42"
features = [
    "text",
    "raster-images",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.subsetter]
version = "0.2"

[dependencies.tiny-skia]
version = "0.11"
features = [
    "std",
    "png-format",
]
optional = true
default-features = false

[dependencies.ttf-parser]
version = "0.21"
features = ["std"]
default-features = false

[dependencies.ureq]
version = "2.10"
features = ["tls"]
optional = true
default-features = false

[dependencies.usvg]
version = "0.42"
features = ["text"]
optional = true
default-features = false

[dependencies.zip]
version = "0.6"
features = ["deflate"]
default-features = false

[dev-dependencies.zip]
version = "0.6"
features = ["deflate"]
default-features = false

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true