graphitepdf-kit 0.3.0

A core PDF generation library for Rust: document building, text, vector graphics, images, and more.
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 = "2024"
rust-version = "1.88"
name = "graphitepdf-kit"
version = "0.3.0"
authors = ["admirsaheta <admir@flyrank.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A core PDF generation library for Rust: document building, text, vector graphics, images, and more."
homepage = "https://github.com/admirsaheta/graphite-pdf"
documentation = "https://docs.rs/graphitepdf-kit"
readme = "README.md"
keywords = [
    "pdf",
    "pdf-generation",
    "graphics",
    "fonts",
    "rendering",
]
categories = [
    "graphics",
    "rendering",
]
license-file = "LICENSE"
repository = "https://github.com/admirsaheta/graphite-pdf"

[features]
default = [
    "std-fonts",
    "vector",
    "tables",
    "images",
]
fonts-engine = ["ttf-parser"]
full = [
    "std-fonts",
    "vector",
    "tables",
    "images",
    "parallel",
    "security",
    "patterns",
    "outlines",
    "fonts-engine",
]
images = [
    "jpeg-decoder",
    "png",
]
outlines = []
parallel = ["rayon"]
patterns = []
security = []
std-fonts = []
tables = []
tracing = ["dep:tracing"]
vector = []

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

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

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

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

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

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

[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.flate2]
version = "1.0"
features = ["zlib"]

[dependencies.graphitepdf-errors]
version = "0.3.0"

[dependencies.graphitepdf-font]
version = "0.3.0"

[dependencies.graphitepdf-image]
version = "0.3.0"

[dependencies.graphitepdf-math]
version = "0.3.0"

[dependencies.graphitepdf-svg]
version = "0.3.0"

[dependencies.jpeg-decoder]
version = "0.3"
optional = true

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

[dependencies.rand]
version = "0.10"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

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

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

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.graphitepdf-stylesheet]
version = "0.3.0"

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.tokio]
version = "1.47"
features = [
    "macros",
    "rt",
]