pdf2-render 1.7.1

Rasteriser for the pdf2 crate: paths, clips, images, text, fonts, shadings and patterns, with a report of what it cannot draw.
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.100"
name = "pdf2-render"
version = "1.7.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rasteriser for the pdf2 crate: paths, clips, images, text, fonts, shadings and patterns, with a report of what it cannot draw."
readme = "README.md"
keywords = [
    "pdf",
    "pdf2",
    "render",
    "raster",
]
categories = ["graphics"]
license = "Unlicense OR MIT"
repository = "https://github.com/pdf2-rs/pdf2"

[features]
dct = ["dep:zune-jpeg"]
default = ["dct"]
jbig2 = ["dep:hayro-jbig2"]
jpx = ["dep:hayro-jpeg2000"]

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

[[bin]]
name = "pdf2-render-golden"
path = "src/bin/pdf2-render-golden.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.hayro-jbig2]
version = "0.4.0"
features = ["std"]
optional = true
default-features = false

[dependencies.hayro-jpeg2000]
version = "0.5.0"
features = ["std"]
optional = true
default-features = false

[dependencies.miniz_oxide]
version = "0.9"

[dependencies.pdf2]
version = "1.6.0"

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

[dependencies.zune-jpeg]
version = "0.5.15"
optional = true

[lints.clippy]
dbg_macro = "deny"
todo = "deny"
unimplemented = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
unsafe_code = "deny"