# 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 = "pdf-interpret"
version = "0.5.4"
authors = ["Laurenz Stampfl <laurenz.stampfl@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A crate for interpreting PDF files."
homepage = "https://pdfluent.com"
documentation = "https://pdfluent.com/docs"
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/pdfluent/examples"
resolver = "2"

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

[features]
default = [
    "embed-fonts",
    "embed-cmaps",
]
embed-cmaps = ["pdf-font/embed-cmaps"]
embed-fonts = []

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

[dependencies.bitflags]
version = "2.10"

[dependencies.kurbo]
version = "0.13.0"

[dependencies.log]
version = "0.4"

[dependencies.moxcms]
version = "0.7.11"

[dependencies.pdf-font]
version = "=1.0.0-beta.3"

[dependencies.pdf-syntax]
version = "=0.5.2"
features = [
    "std",
    "images",
]

[dependencies.phf]
version = "0.13.1"
features = ["macros"]

[dependencies.rustc-hash]
version = "2"

[dependencies.siphasher]
version = "1"

[dependencies.skrifa]
version = "0.40.0"

[dependencies.smallvec]
version = "1"

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

[dependencies.yoke]
version = "0.8"
features = ["derive"]

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