hyper-render 0.2.0

A Chromium-free HTML rendering engine for generating PNG and PDF outputs
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 = "2021"
name = "hyper-render"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Chromium-free HTML rendering engine for generating PNG and PDF outputs"
documentation = "https://docs.rs/hyper-render"
readme = "README.md"
keywords = [
    "html",
    "pdf",
    "png",
    "render",
    "headless",
]
categories = [
    "rendering",
    "graphics",
    "multimedia::images",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/thomasmost/hyper-render"

[features]
default = [
    "png",
    "pdf",
]
pdf = [
    "dep:krilla",
    "dep:stylo",
    "dep:parley",
    "dep:linebender_resource_handle",
]
png = [
    "dep:anyrender",
    "dep:anyrender_vello_cpu",
    "dep:png",
]

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

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

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

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

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

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

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

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

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

[dependencies.anyrender]
version = "0.6"
optional = true

[dependencies.anyrender_vello_cpu]
version = "0.7"
optional = true

[dependencies.blitz-dom]
version = "0.2"

[dependencies.blitz-html]
version = "0.2"

[dependencies.blitz-paint]
version = "0.2"

[dependencies.blitz-traits]
version = "0.2"

[dependencies.krilla]
version = "0.6"
optional = true

[dependencies.linebender_resource_handle]
version = "0.1"
optional = true

[dependencies.parley]
version = "0.6"
optional = true

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

[dependencies.stylo]
version = "0.8"
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.pdf-extract]
version = "0.10"

[dev-dependencies.tokio]
version = "1"
features = ["full"]