[package]
name = "pdfium-render"
version = "0.7.13"
edition = "2018"
publish = true
description = "A high-level idiomatic Rust wrapper around Pdfium, the C++ PDF library used by the Google Chromium project."
readme = "README.md"
homepage = "https://github.com/ajrcarey/pdfium-render"
repository = "https://github.com/ajrcarey/pdfium-render"
license = "MIT OR Apache-2.0"
keywords = ["pdf", "pdfium"]
categories = ["api-bindings", "multimedia::images", "visualization", "wasm"]
authors = ["Alastair Carey <alastair@duetto.dev>"]
[lib]
name = "pdfium_render"
crate-type = ["lib", "staticlib", "cdylib"]
doctest = false
[dependencies]
bitflags = "^1"
bytes = "^1"
image = "^0"
iter_tools = "^0"
lazy_static = "^1"
log = "^0"
maybe-owned = "^0"
utf16string = "^0"
vecmath = "^1"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_log = "^0"
console_error_panic_hook = "^0"
js-sys = "^0"
wasm-bindgen = { version = "^0", features = ["enable-interning"] }
wasm-bindgen-futures = { version = "^0" }
web-sys = { version = "^0", features = ["TextDecoder", "ImageData", "Window", "Response", "Blob"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
libloading = "^0"
[build-dependencies]
bindgen = { version = "^0" }
[dev-dependencies]
rand = "^0"
rayon = "^1"
[features]
default = ["thread_safe"]
bindings = []
static = []
thread_safe = []