# 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 = "mr_pdf"
version = "0.1.17"
authors = ["Supaat Wisetsud <supaat.wi@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, high-performance PDF generation library for Rust with premium layouts and charts."
homepage = "https://github.com/supaatwi/mr_pdf"
documentation = "https://github.com/supaatwi/mr_pdf/blob/main/README.md"
readme = "README.md"
keywords = [
    "pdf",
    "generator",
    "chart",
    "table",
    "markdown",
]
categories = [
    "rendering",
    "graphics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/supaatwi/mr_pdf"

[features]
chart = []
default = ["chart"]
qrcode = ["dep:fast_qr"]

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "box_demo"
path = "examples/box_demo.rs"

[[example]]
name = "chart_advanced"
path = "examples/chart_advanced.rs"

[[example]]
name = "chart_draw_demo"
path = "examples/chart_draw_demo.rs"

[[example]]
name = "comprehensive"
path = "examples/comprehensive.rs"

[[example]]
name = "font"
path = "examples/font.rs"

[[example]]
name = "gradient_showcase"
path = "examples/gradient_showcase.rs"

[[example]]
name = "hyperlink_demo"
path = "examples/hyperlink_demo.rs"

[[example]]
name = "image_example"
path = "examples/image_example.rs"

[[example]]
name = "invoice"
path = "examples/invoice.rs"

[[example]]
name = "layout"
path = "examples/layout.rs"

[[example]]
name = "markdown_demo"
path = "examples/markdown_demo.rs"

[[example]]
name = "memory_render"
path = "examples/memory_render.rs"

[[example]]
name = "multi_table_demo"
path = "examples/multi_table_demo.rs"

[[example]]
name = "padding_demo"
path = "examples/padding_demo.rs"

[[example]]
name = "page_numbering"
path = "examples/page_numbering.rs"

[[example]]
name = "paper_size"
path = "examples/paper_size.rs"

[[example]]
name = "premium_features"
path = "examples/premium_features.rs"

[[example]]
name = "premium_features_demo"
path = "examples/premium_features_demo.rs"

[[example]]
name = "repro_issue"
path = "examples/repro_issue.rs"

[[example]]
name = "rich_text_demo"
path = "examples/rich_text_demo.rs"

[[example]]
name = "security_demo"
path = "examples/security_demo.rs"

[[example]]
name = "svg_rendering"
path = "examples/svg_rendering.rs"

[[example]]
name = "table"
path = "examples/table.rs"

[[example]]
name = "table_image"
path = "examples/table_image.rs"

[[example]]
name = "table_logbook"
path = "examples/table_logbook.rs"

[[example]]
name = "table_percent"
path = "examples/table_percent.rs"

[[example]]
name = "table_streaming"
path = "examples/table_streaming.rs"

[[example]]
name = "table_styled"
path = "examples/table_styled.rs"

[[example]]
name = "table_styled_demo"
path = "examples/table_styled_demo.rs"

[[example]]
name = "text_margin"
path = "examples/text_margin.rs"

[dependencies.base64]
version = "0.22"

[dependencies.fast_qr]
version = "0.13.1"
optional = true

[dependencies.flate2]
version = "1.1.9"

[dependencies.fontcull]
version = "2.0.1"
default-features = false

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

[dependencies.md5]
version = "0.8.0"

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

[dependencies.rc4]
version = "0.1.0"

[dependencies.roxmltree]
version = "0.21.1"

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