pdfcrate 0.1.0

A Rust library for creating and manipulating PDF documents
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.87"
name = "pdfcrate"
version = "0.1.0"
authors = ["ratazzi <ratazzi@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for creating and manipulating PDF documents"
homepage = "https://github.com/ratazzi/pdfcrate"
readme = "README.md"
keywords = [
    "pdf",
    "document",
    "generator",
]
categories = [
    "text-processing",
    "encoding",
]
license = "MIT"
repository = "https://github.com/ratazzi/pdfcrate"

[features]
barcode = [
    "qrcode",
    "barcoders",
]
default = [
    "std",
    "png",
    "fonts",
    "text-shaping",
    "svg",
    "barcode",
]
fonts = [
    "ttf-parser",
    "subsetter",
]
full = [
    "std",
    "png",
    "fonts",
    "text-shaping",
    "svg",
    "barcode",
]
prawn-compat = []
python = [
    "pyo3",
    "full",
]
std = []
svg = ["usvg"]
text-shaping = ["rustybuzz"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.barcoders]
version = "2.0"
optional = true

[dependencies.csscolorparser]
version = "0.8"
features = ["named-colors"]
default-features = false

[dependencies.flate2]
version = "1.0"
features = ["zlib-rs"]
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.pdf-canvas]
version = "0.7"

[dependencies.png]
version = "0.17"
optional = true

[dependencies.pyo3]
version = "0.28"
features = [
    "extension-module",
    "abi3-py39",
]
optional = true

[dependencies.qrcode]
version = "0.14"
optional = true

[dependencies.regex]
version = "1"

[dependencies.rustybuzz]
version = "0.10"
optional = true

[dependencies.ryu]
version = "1.0"

[dependencies.subsetter]
version = "0.2"
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.ttf-parser]
version = "0.24"
optional = true

[dependencies.usvg]
version = "0.45"
optional = true

[dev-dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
]
default-features = false

[dev-dependencies.pdf-writer]
version = "0.12"

[dev-dependencies.pretty_assertions]
version = "1.0"

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