pdfrum-render 0.1.0

Rendering engine and the RenderDevice/RasterBackend seam
# 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.92"
name = "pdfrum-render"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rendering engine and the RenderDevice/RasterBackend seam"
readme = "README.md"
keywords = [
    "pdf",
    "render",
    "rasterize",
    "graphics",
]
categories = [
    "graphics",
    "rendering",
    "multimedia::images",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/PoHsuanLai/pdfrum"
resolver = "2"

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

[features]
default = []
png = ["dep:png"]
profiling = ["pdfrum-page/profiling"]

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

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

[[bench]]
name = "render"
path = "benches/render.rs"
harness = false

[dependencies.kurbo]
version = "0.13.1"

[dependencies.pdfrum-common]
version = "0.1.0"

[dependencies.pdfrum-font]
version = "0.1.0"

[dependencies.pdfrum-object]
version = "0.1.0"

[dependencies.pdfrum-page]
version = "0.1.0"

[dependencies.peniko]
version = "0.6.1"

[dependencies.png]
version = "=0.18.1"
optional = true

[dependencies.smallvec]
version = "=1.16.0"

[dependencies.thiserror]
version = "=2.0.20"

[dev-dependencies.criterion]
version = "=0.5.1"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.pdfrum-parser]
version = "0.1.0"

[lints.clippy]
expect_used = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"