Files
craft-libs/vendor/hayro/Cargo.toml.orig

34 lines
994 B
TOML

[package]
name = "hayro"
version = "0.7.1"
description = "A rasterizer for PDF files."
edition = { workspace = true }
rust-version = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
license = { workspace = true }
readme = "README.md"
[dependencies]
hayro-interpret = { workspace = true }
kurbo = { workspace = true }
image = { workspace = true, features = ["png"] }
bytemuck = { workspace = true, features = ["bytemuck_derive"] }
vello_cpu = { workspace = true }
pic-scale = { workspace = true }
# PdfCraft patch: report image resampling fallbacks through the application's logger.
log = { workspace = true }
[dev-dependencies]
log = { workspace = true }
[features]
default = ["embed-fonts", "embed-cmaps"]
embed-fonts = ["hayro-interpret/embed-fonts"]
# Embed the 61 predefined cmaps into the binary. Adds about ~250KB of brotli-encoded data.
embed-cmaps = ["hayro-interpret/embed-cmaps"]
logging = ["hayro-interpret/logging"]
[lints]
workspace = true