xfa-layout-engine 1.0.0

Box-model and pagination layout engine for XFA forms. Experimental — part of the PDFluent XFA stack, under active development.
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"
name = "xfa-layout-engine"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Box-model and pagination layout engine for XFA forms. Experimental — part of the PDFluent XFA stack, under active development."
homepage = "https://pdfluent.com"
documentation = "https://pdfluent.com/docs"
readme = "README.md"
license = "AGPL-3.0-only OR LicenseRef-PDFluent-Commercial"
repository = "https://github.com/pdfluent/pdfluent-sdk"

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

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

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

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

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

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

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

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

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

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

[dependencies.formcalc-interpreter]
version = "=1.0.0"

[dependencies.log]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dependencies.xfa-dom-resolver]
version = "=1.0.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.xfa-js-sandboxed]
version = "=1.0.0"