pdfcrate 0.1.1

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.1"
authors = ["ratazzi <ratazzi@gmail.com>"]
build = false
exclude = [
    ".github/",
    "examples/",
    "ext/",
    "lib/",
    "python/",
    "tests/",
    "Gemfile",
    "Rakefile",
    "pdfcrate.gemspec",
    "pyproject.toml",
    "src/python.rs",
    "src/wasm.rs",
]
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"

[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"