markdown2pdf 1.2.0

Create PDF with Markdown files (a md to pdf transpiler)
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"
rust-version = "1.85"
name = "markdown2pdf"
version = "1.2.0"
authors = ["Ismael Sh <me@theiskaa.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Create PDF with Markdown files (a md to pdf transpiler)"
readme = "README.md"
keywords = [
    "md",
    "markdown",
    "pdf",
    "markdown-to-pdf",
    "markdown2pdf",
]
license = "MIT"
repository = "https://github.com/theiskaa/markdown2pdf"

[features]
default = []
fetch = [
    "dep:reqwest",
    "reqwest/rustls",
]
svg = ["dep:resvg"]

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

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

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

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

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

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

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

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

[dependencies.hyphenation]
version = "0.8"
features = ["embed_en-us"]
default-features = false

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
]
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.lopdf]
version = "0.39"
default-features = false

[dependencies.phf]
version = "0.13"

[dependencies.printpdf]
version = "0.9"
features = [
    "png",
    "jpeg",
]
default-features = false

[dependencies.reqwest]
version = "0.13"
features = ["blocking"]
optional = true
default-features = false

[dependencies.resvg]
version = "0.47"
optional = true
default-features = false

[dependencies.rustybuzz]
version = "0.20"

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

[dependencies.subsetter]
version = "0.2"
default-features = false

[dependencies.toml]
version = "1.1"

[dependencies.ttf-parser]
version = "0.25"

[dependencies.unicode-linebreak]
version = "0.1"

[dev-dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
]
default-features = false

[dev-dependencies.lopdf]
version = "0.39"
default-features = false

[build-dependencies.phf_codegen]
version = "0.13"

[build-dependencies.serde_json]
version = "1"

[profile.dist]
lto = "thin"
inherits = "release"

[profile.release]
lto = "thin"
codegen-units = 1
strip = true