[package]
edition = "2021"
name = "pdf-xfa"
version = "1.0.0-beta.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "XFA engine — extraction, layout rendering, font resolution. Experimental and under active development."
homepage = "https://pdfluent.com"
documentation = "https://pdfluent.com/docs"
readme = "README.md"
keywords = [
"pdf",
"xfa",
"forms",
"adobe",
]
categories = ["rendering"]
license-file = "LICENSE"
repository = "https://github.com/pdfluent/examples"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
xfa-js-sandboxed = ["dep:rquickjs"]
[lib]
name = "pdf_xfa"
path = "src/lib.rs"
[[example]]
name = "flatten_pdf"
path = "examples/flatten_pdf.rs"
[[test]]
name = "adobe_compat_registry"
path = "tests/adobe_compat_registry.rs"
[[test]]
name = "differences_encoding"
path = "tests/differences_encoding.rs"
[[test]]
name = "embedded_font_width_coverage"
path = "tests/embedded_font_width_coverage.rs"
[[test]]
name = "first_char_offset"
path = "tests/first_char_offset.rs"
[[test]]
name = "font_resolution_tests"
path = "tests/font_resolution_tests.rs"
[[test]]
name = "invisible_binding_no_fallback"
path = "tests/invisible_binding_no_fallback.rs"
[[test]]
name = "m3b_phaseC_bindings"
path = "tests/m3b_phaseC_bindings.rs"
[[test]]
name = "m3b_phaseD_beta_listbox"
path = "tests/m3b_phaseD_beta_listbox.rs"
[[test]]
name = "m3b_phaseD_gamma_data_dom"
path = "tests/m3b_phaseD_gamma_data_dom.rs"
[[test]]
name = "m3b_phaseD_instance_manager"
path = "tests/m3b_phaseD_instance_manager.rs"
[[test]]
name = "m3b_phaseD_kappa_page_drop"
path = "tests/m3b_phaseD_kappa_page_drop.rs"
[[test]]
name = "m3b_phaseD_pre_implicit_idents"
path = "tests/m3b_phaseD_pre_implicit_idents.rs"
[[test]]
name = "m3b_runtime_skeleton"
path = "tests/m3b_runtime_skeleton.rs"
[[test]]
name = "m5_occur_bind_none"
path = "tests/m5_occur_bind_none.rs"
[[test]]
name = "m5_occur_formdom_repeat"
path = "tests/m5_occur_formdom_repeat.rs"
[[test]]
name = "m5_occur_rule"
path = "tests/m5_occur_rule.rs"
[[test]]
name = "m5_page_suppression_rules"
path = "tests/m5_page_suppression_rules.rs"
[[test]]
name = "m5_suppression_metadata_rules"
path = "tests/m5_suppression_metadata_rules.rs"
[[test]]
name = "repeating_subform_per_instance_binding"
path = "tests/repeating_subform_per_instance_binding.rs"
[[test]]
name = "static_fallback_trace"
path = "tests/static_fallback_trace.rs"
[[test]]
name = "ux1_trace_compat"
path = "tests/ux1_trace_compat.rs"
[[test]]
name = "xfa_edge_cases"
path = "tests/xfa_edge_cases.rs"
[[test]]
name = "xfa_stress_tests"
path = "tests/xfa_stress_tests.rs"
[dependencies.base64]
version = "0.22"
[dependencies.flate2]
version = "1"
[dependencies.formcalc-interpreter]
version = "=1.0.0-beta.5"
[dependencies.image]
version = "0.25"
[dependencies.log]
version = "0.4"
[dependencies.lopdf]
version = "=0.39.3"
package = "pdfluent-lopdf"
[dependencies.pdf-font]
version = "=1.0.0-beta.3"
[dependencies.pdf-interpret]
version = "=0.5.5"
[dependencies.pdf-syntax]
version = "=0.5.3"
[dependencies.roxmltree]
version = "0.20"
[dependencies.rquickjs]
version = "0.8"
optional = true
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.ttf-parser]
version = "0.25"
[dependencies.xfa-dom-resolver]
version = "=1.0.0-beta.5"
[dependencies.xfa-json]
version = "=1.0.0-beta.5"
[dependencies.xfa-layout-engine]
version = "=1.0.0-beta.5"