hipdf 1.3.6

A high-level PDF manipulation library built on lopdf
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 = "hipdf"
version = "1.3.6"
authors = ["Jorge Soares <jorge@ducflair.com>"]
build = "build.rs"
exclude = [
    "tests/outputs/",
    "tests/assets/",
    "node_modules/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-level PDF manipulation library built on lopdf"
readme = "README.md"
keywords = [
    "pdf",
    "lopdf",
    "layers",
    "ocg",
    "manipulation",
]
categories = [
    "multimedia",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/ducflair/hipdf"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
native = []
wasm_js = []

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.image]
version = "0.25"
features = ["webp"]
default-features = false

[dependencies.jpeg-decoder]
version = "0.3.2"

[dependencies.miniz_oxide]
version = "0.8.9"

[dependencies.png]
version = "0.18.0"

[dependencies.ttf-parser]
version = "0.20"
features = ["variable-fonts"]

[dev-dependencies.png]
version = "0.18.0"
features = ["unstable"]

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.lopdf]
version = "0.38.0"
features = ["wasm_js"]
default-features = false

[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dependencies.lopdf]
version = "0.38.0"