# 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 = "2018" rust-version = "1.61" name = "pdfium-render" version = "0.8.26" authors = ["Alastair Carey "] build = "build.rs" exclude = ["test/*.pdf"] publish = true 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" [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" optional = true package = "image" [dependencies.image_024] version = "0.24" optional = true package = "image" [dependencies.image_025] version = "0.25" optional = true 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.rand] version = "0" [dev-dependencies.rayon] version = "1" [build-dependencies.bindgen] version = "<=0.69.4" optional = true [features] bindings = ["dep:bindgen"] default = [ "pdfium_latest", "thread_safe", "image", ] flatten = [] image = ["image_latest"] image_023 = ["dep:image_023"] image_024 = ["dep:image_024"] image_025 = ["dep:image_025"] 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_enable_v8 = [] pdfium_enable_xfa = [] pdfium_future = [ "pdfium_use_skia", "pdfium_enable_xfa", "pdfium_enable_v8", ] pdfium_latest = ["pdfium_6721"] pdfium_use_skia = [] pdfium_use_win32 = ["dep:windows"] static = [] sync = ["thread_safe"] thread_safe = [] [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