pdfium-render 0.9.1

A high-level idiomatic Rust wrapper around Pdfium, the C++ PDF library used by the Google Chromium project.
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"
rust-version = "1.61"
name = "pdfium-render"
version = "0.9.1"
authors = ["Alastair Carey <alastair@alastaircarey.com>"]
build = "build.rs"
exclude = ["test/*.pdf"]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-level idiomatic Rust wrapper around Pdfium, the C++ PDF library used by the Google Chromium project."
homepage = "https://github.com/ajrcarey/pdfium-render"
readme = "README.md"
keywords = [
    "pdf",
    "pdfium",
]
categories = [
    "api-bindings",
    "multimedia::images",
    "visualization",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ajrcarey/pdfium-render"

[features]
bindings = ["dep:bindgen"]
console_log = []
core_graphics = ["static"]
default = [
    "pdfium_latest",
    "image_latest",
    "thread_safe",
]
flatten = []
image_023 = [
    "dep:image_023",
    "image_api",
]
image_024 = [
    "dep:image_024",
    "image_api",
]
image_025 = [
    "dep:image_025",
    "image_api",
]
image_api = []
image_latest = ["image_025"]
"libc++" = ["static"]
"libstdc++" = ["static"]
paragraph = []
pdfium_5961 = []
pdfium_6015 = []
pdfium_6043 = []
pdfium_6084 = []
pdfium_6110 = []
pdfium_6124 = []
pdfium_6164 = []
pdfium_6259 = []
pdfium_6295 = []
pdfium_6337 = []
pdfium_6406 = []
pdfium_6490 = []
pdfium_6555 = []
pdfium_6569 = []
pdfium_6611 = []
pdfium_6666 = []
pdfium_6721 = []
pdfium_6996 = []
pdfium_7123 = []
pdfium_7215 = []
pdfium_7350 = []
pdfium_7543 = []
pdfium_7763 = []
pdfium_enable_v8 = []
pdfium_enable_xfa = []
pdfium_future = [
    "pdfium_use_skia",
    "pdfium_enable_xfa",
    "pdfium_enable_v8",
]
pdfium_latest = ["pdfium_7763"]
pdfium_use_skia = []
pdfium_use_win32 = ["dep:windows"]
static = []
thread_safe = []

[lib]
name = "pdfium_render"
crate-type = [
    "lib",
    "staticlib",
    "cdylib",
]
path = "src/lib.rs"
doctest = false

[dependencies.bitflags]
version = "2"

[dependencies.bytemuck]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0"

[dependencies.image_023]
version = "0.23"
features = ["jpeg"]
optional = true
default-features = false
package = "image"

[dependencies.image_024]
version = "0.24"
features = ["jpeg"]
optional = true
default-features = false
package = "image"

[dependencies.image_025]
version = "0.25"
features = ["jpeg"]
optional = true
default-features = false
package = "image"

[dependencies.itertools]
version = "0"

[dependencies.log]
version = "0"

[dependencies.maybe-owned]
version = "0"

[dependencies.once_cell]
version = "1"

[dependencies.utf16string]
version = "0"

[dependencies.vecmath]
version = "1"

[dev-dependencies.axum]
version = "0"

[dev-dependencies.rand]
version = "0"

[dev-dependencies.rayon]
version = "1"

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

[dev-dependencies.tower]
version = "0"

[build-dependencies.bindgen]
version = "0"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.libloading]
version = "0"

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0"

[target.'cfg(target_arch = "wasm32")'.dependencies.console_log]
version = "1"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0"
features = ["enable-interning"]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0"
features = [
    "TextDecoder",
    "ImageData",
    "Window",
    "Response",
    "Blob",
]

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0"
optional = true