# 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"
name = "lynpdf-rs"
version = "0.1.0"
authors = ["Supphachoke Suntiwichaya <mrchoke@gmail.com>"]
build = false
exclude = [
    "fonts/**",
    "tests/output/**",
    "examples/output/**",
    "tmp/**",
    "target/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust HTML/CSS to PDF renderer focused on Thai text layout"
homepage = "https://github.com/mrchoke/lynpdf-rs"
documentation = "https://mrchoke.github.io/lynpdf-rs/"
readme = "README.md"
keywords = [
    "pdf",
    "html",
    "thai",
    "renderer",
]
categories = [
    "rendering",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/mrchoke/lynpdf-rs"

[features]
default = []
layout-taffy = ["dep:taffy"]
text-cosmic = ["dep:cosmic-text"]

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

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

[[bin]]
name = "render-all-cases"
path = "src/bin/render-all-cases.rs"

[[bin]]
name = "visual-diff-examples"
path = "src/bin/visual-diff-examples.rs"

[[bin]]
name = "visual-diff-test20"
path = "src/bin/visual-diff-test20.rs"

[[example]]
name = "api-certificate-single-page"
path = "examples/api-certificate-single-page.rs"

[[example]]
name = "generate-api-guide-pdf"
path = "examples/generate-api-guide-pdf.rs"

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

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

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

[dependencies.cosmic-text]
version = "0.12"
optional = true
default-features = false

[dependencies.html5ever]
version = "0.26"

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

[dependencies.lightningcss]
version = "1.0.0-alpha.68"

[dependencies.markup5ever_rcdom]
version = "0.2"

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

[dependencies.rustybuzz]
version = "0.14"

[dependencies.syntect]
version = "5.2"

[dependencies.taffy]
version = "0.5"
optional = true

[dependencies.thiserror]
version = "2"

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

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

[dependencies.unicode-segmentation]
version = "1.12"

[dev-dependencies.tempfile]
version = "3"
