gpui-pdf 0.6.0

Page-virtualized PDF viewing for GPUI, via the pure-Rust hayro rasterizer.
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"
name = "gpui-pdf"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Page-virtualized PDF viewing for GPUI, via the pure-Rust hayro rasterizer."
homepage = "https://packetthrower.github.io/zorite/reference/crates/gpui-pdf/"
readme = "README.md"
keywords = [
    "gpui",
    "pdf",
    "viewer",
    "hayro",
    "acroform",
]
categories = [
    "gui",
    "rendering",
]
license = "MIT"
repository = "https://github.com/packetThrower/zorite"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
forms = ["dep:lopdf"]
markup = ["dep:kurbo"]
search = ["markup"]

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

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

[[example]]
name = "extract_text"
path = "examples/extract_text.rs"
required-features = ["markup"]

[[example]]
name = "forms_check"
path = "examples/forms_check.rs"
required-features = ["forms"]

[dependencies.gpui]
version = "0.3"
package = "gpui-pre"

[dependencies.hayro]
version = "0.7"

[dependencies.image]
version = "0.25"

[dependencies.kurbo]
version = "0.13"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.lopdf]
version = "0.44"
optional = true
default-features = false