easypdf 0.1.0

Easy PDF manipulation library for Rust — builder API for creating, reading, manipulating, and filling PDFs
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 = "easypdf"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Easy PDF manipulation library for Rust — builder API for creating, reading, manipulating, and filling PDFs"
readme = "README.md"
keywords = [
    "pdf",
    "ocr",
    "markdown",
    "parser",
    "writer",
]
categories = [
    "parser-implementations",
    "encoding",
]
license = "Apache-2.0"
repository = "https://github.com/easy-4-rust/easypdf-rust"

[features]
default = ["markdown"]
full = [
    "markdown-table",
    "ocr",
    "render",
    "mcp",
    "resident",
]
html = ["printpdf/html"]
markdown = ["dep:easypdf-markdown"]
markdown-ocr = ["markdown"]
markdown-ocr-http-base = ["ocr"]
markdown-table = ["markdown"]
mcp = [
    "runtime",
    "easypdf-runtime/mcp",
]
ocr = [
    "dep:easypdf-ocr",
    "markdown",
]
render = ["markdown"]
resident = [
    "runtime",
    "easypdf-runtime/resident",
]
runtime = ["dep:easypdf-runtime"]

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

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

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

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

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

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

[[example]]
name = "markdown_pipeline"
path = "examples/markdown_pipeline.rs"
required-features = ["markdown"]

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

[[example]]
name = "pdf_to_markdown"
path = "examples/pdf_to_markdown.rs"
required-features = ["markdown"]

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

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

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

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

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

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

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

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

[dependencies.easypdf-core]
version = "0.1.0"

[dependencies.easypdf-derive]
version = "0.1.0"

[dependencies.easypdf-markdown]
version = "0.1.0"
optional = true

[dependencies.easypdf-ocr]
version = "0.1.0"
optional = true

[dependencies.easypdf-reader]
version = "0.1.0"

[dependencies.easypdf-runtime]
version = "0.1.0"
optional = true
default-features = false

[dependencies.easypdf-writer]
version = "0.1.0"

[dependencies.printpdf]
version = "0.12.4"
features = [
    "png",
    "html",
    "svg",
]
optional = true
default-features = false

[dev-dependencies.tempfile]
version = "3.27.0"