[[bench]]
harness = false
name = "ocr_benchmarks"
path = "benches/ocr_benchmarks.rs"
[[bench]]
harness = false
name = "performance_benchmarks"
path = "benches/performance_benchmarks.rs"
[dependencies.bitflags]
version = "2.4"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.flate2]
optional = true
version = "1.0"
[dependencies.image]
default-features = false
features = ["png", "jpeg", "png", "jpeg"]
optional = true
version = "0.25.6"
[dependencies.lazy_static]
version = "1.4"
[dependencies.md5]
version = "0.8"
[dependencies.num_cpus]
version = "1.16"
[dependencies.rand]
optional = true
version = "0.8"
[dependencies.rayon]
optional = true
version = "1.8"
[dependencies.regex]
version = "1.10"
[dependencies.rusty-tesseract]
optional = true
version = "1.1.10"
[dependencies.serde]
features = ["derive", "derive"]
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.tempfile]
version = "3.8"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.unicode-normalization]
version = "0.1"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.proptest]
version = "1.7"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.8"
[[example]]
name = "simple_jpeg_extract"
path = "examples/simple_jpeg_extract.rs"
[features]
compression = ["dep:flate2"]
default = ["compression"]
external-images = ["dep:image"]
ocr-full = ["ocr-tesseract"]
ocr-tesseract = ["dep:rusty-tesseract", "external-images"]
performance = ["dep:rayon", "compression"]
rayon = ["dep:rayon"]
real-pdf-tests = []
semantic = ["dep:serde_json"]
[lib]
name = "oxidize_pdf"
path = "src/lib.rs"
[package]
authors = ["Santiago Fernández Muñoz"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["graphics", "text-processing", "parsing", "multimedia::images"]
description = "A pure Rust PDF generation and manipulation library with zero external dependencies"
documentation = "https://docs.rs/oxidize-pdf"
edition = "2021"
homepage = "https://github.com/bzsanti/oxidizePdf"
keywords = ["pdf", "document", "generation", "parser", "graphics"]
license = "MIT"
name = "oxidize-pdf"
readme = "README.md"
repository = "https://github.com/bzsanti/oxidizePdf"
rust-version = "1.77"
version = "1.2.2"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.image]
default-features = false
features = ["png", "jpeg"]
optional = true
version = "0.25.6"
[target."cfg(windows)".dependencies.rusty-tesseract]
optional = true
version = "1.1.10"
[target."cfg(windows)".dependencies.winapi]
features = ["memoryapi", "handleapi", "winnt"]
version = "0.3"
[[test]]
name = "advanced_tables_tests"
path = "tests/advanced_tables_tests.rs"
[[test]]
name = "annotations_comprehensive_test"
path = "tests/annotations_comprehensive_test.rs"
[[test]]
name = "annotations_error_handling_test"
path = "tests/annotations_error_handling_test.rs"
[[test]]
name = "annotations_integration_test"
path = "tests/annotations_integration_test.rs"
[[test]]
name = "annotations_tests"
path = "tests/annotations_tests.rs"
[[test]]
name = "architecture_simple_test"
path = "tests/architecture_simple_test.rs"
[[test]]
name = "batch_processing_tests"
path = "tests/batch_processing_tests.rs"
[[test]]
name = "calibrated_color_tests"
path = "tests/calibrated_color_tests.rs"
[[test]]
name = "charts_tests"
path = "tests/charts_tests.rs"
[[test]]
name = "choice_fields_tests"
path = "tests/choice_fields_tests.rs"
[[test]]
name = "circular_ref_test"
path = "tests/circular_ref_test.rs"
[[test]]
name = "compression_test"
path = "tests/compression_test.rs"
[[test]]
name = "custom_fonts_test"
path = "tests/custom_fonts_test.rs"
[[test]]
name = "dashboard_integration_test"
path = "tests/dashboard_integration_test.rs"
[[test]]
name = "devicen_color_tests"
path = "tests/devicen_color_tests.rs"
[[test]]
name = "draw_image_transparency_tests"
path = "tests/draw_image_transparency_tests.rs"
[[test]]
name = "encryption_basic_test"
path = "tests/encryption_basic_test.rs"
[[test]]
name = "end_to_end_test"
path = "tests/end_to_end_test.rs"
[[test]]
name = "field_appearance_tests"
path = "tests/field_appearance_tests.rs"
[[test]]
name = "fixtures_support"
path = "tests/fixtures_support.rs"
[[test]]
name = "font_embedding_integration"
path = "tests/font_embedding_integration.rs"
[[test]]
name = "font_embedding_integration_test"
path = "tests/font_embedding_integration_test.rs"
[[test]]
name = "font_encoding_test"
path = "tests/font_encoding_test.rs"
[[test]]
name = "font_workflows_integration"
path = "tests/font_workflows_integration.rs"
[[test]]
name = "fonts_comprehensive_test"
path = "tests/fonts_comprehensive_test.rs"
[[test]]
name = "fonts_unit_tests"
path = "tests/fonts_unit_tests.rs"
[[test]]
name = "form_actions_tests"
path = "tests/form_actions_tests.rs"
[[test]]
name = "form_processing_integration"
path = "tests/form_processing_integration.rs"
[[test]]
name = "forms_comprehensive_test"
path = "tests/forms_comprehensive_test.rs"
[[test]]
name = "forms_cross_module_integration_test"
path = "tests/forms_cross_module_integration_test.rs"
[[test]]
name = "forms_document_integration_test"
path = "tests/forms_document_integration_test.rs"
[[test]]
name = "forms_error_handling_test"
path = "tests/forms_error_handling_test.rs"
[[test]]
name = "forms_parser_integration_test"
path = "tests/forms_parser_integration_test.rs"
[[test]]
name = "forms_performance_scalability_test"
path = "tests/forms_performance_scalability_test.rs"
[[test]]
name = "forms_validation_javascript_test"
path = "tests/forms_validation_javascript_test.rs"
[[test]]
name = "integration_compression"
path = "tests/integration_compression.rs"
[[test]]
name = "integration_encryption"
path = "tests/integration_encryption.rs"
[[test]]
name = "integration_fonts"
path = "tests/integration_fonts.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "interactive_features_test"
path = "tests/interactive_features_test.rs"
[[test]]
name = "iso_document_catalog_tests"
path = "tests/iso_document_catalog_tests.rs"
[[test]]
name = "iso_system_demo"
path = "tests/iso_system_demo.rs"
[[test]]
name = "iso_verification_test"
path = "tests/iso_verification_test.rs"
[[test]]
name = "jpeg_extraction_regression_test"
path = "tests/jpeg_extraction_regression_test.rs"
[[test]]
name = "memory_optimization_integration"
path = "tests/memory_optimization_integration.rs"
[[test]]
name = "memory_optimization_tests"
path = "tests/memory_optimization_tests.rs"
[[test]]
name = "memory_stress_integration"
path = "tests/memory_stress_integration.rs"
[[test]]
name = "merge_font_mapping_test"
path = "tests/merge_font_mapping_test.rs"
[[test]]
name = "new_architecture_test"
path = "tests/new_architecture_test.rs"
[[test]]
name = "objects_integration_test"
path = "tests/objects_integration_test.rs"
[[test]]
name = "operations_test"
path = "tests/operations_test.rs"
[[test]]
name = "page_labels_integration_test"
path = "tests/page_labels_integration_test.rs"
[[test]]
name = "parser_comprehensive_test"
path = "tests/parser_comprehensive_test.rs"
[[test]]
name = "parser_edge_cases_integration"
path = "tests/parser_edge_cases_integration.rs"
[[test]]
name = "parser_malformed_comprehensive_test"
path = "tests/parser_malformed_comprehensive_test.rs"
[[test]]
name = "parser_stress_and_recovery_test"
path = "tests/parser_stress_and_recovery_test.rs"
[[test]]
name = "parser_tests"
path = "tests/parser_tests.rs"
[[test]]
name = "parser_version_compatibility_test"
path = "tests/parser_version_compatibility_test.rs"
[[test]]
name = "parser_writer_roundtrip"
path = "tests/parser_writer_roundtrip.rs"
[[test]]
name = "png_transparency_tests"
path = "tests/png_transparency_tests.rs"
[[test]]
name = "proptest_geometry"
path = "tests/proptest_geometry.rs"
[[test]]
name = "proptest_graphics"
path = "tests/proptest_graphics.rs"
[[test]]
name = "proptest_parser"
path = "tests/proptest_parser.rs"
[[test]]
name = "proptest_primitives"
path = "tests/proptest_primitives.rs"
[[test]]
name = "real_pdf_integration_tests"
path = "tests/real_pdf_integration_tests.rs"
[[test]]
name = "table_integration_test"
path = "tests/table_integration_test.rs"
[[test]]
name = "tesseract_ocr_tests"
path = "tests/tesseract_ocr_tests.rs"
[[test]]
name = "test_issue47_regression"
path = "tests/test_issue47_regression.rs"
[[test]]
name = "text_extraction_test"
path = "tests/text_extraction_test.rs"
[[test]]
name = "transparency_integration_test"
path = "tests/transparency_integration_test.rs"
[[test]]
name = "xref_recovery_test"
path = "tests/xref_recovery_test.rs"
[[test]]
name = "xref_stream_roundtrip"
path = "tests/xref_stream_roundtrip.rs"
[[test]]
name = "xref_stream_simple"
path = "tests/xref_stream_simple.rs"