pdfrum-form 0.1.1

Form interaction: events, focus, the edit control, the commit cascade
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.92"
name = "pdfrum-form"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Form interaction: events, focus, the edit control, the commit cascade"
readme = "README.md"
keywords = [
    "pdf",
    "forms",
    "acroform",
    "widgets",
]
categories = [
    "parser-implementations",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/PoHsuanLai/pdfrum"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
javascript = [
    "dep:boa_engine",
    "dep:pdfrum-script",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.boa_engine]
version = "=0.22.0"
optional = true
default-features = false

[dependencies.kurbo]
version = "0.13.1"

[dependencies.pdfrum-common]
version = "0.1.1"

[dependencies.pdfrum-doc]
version = "0.1.1"

[dependencies.pdfrum-font]
version = "0.1.1"

[dependencies.pdfrum-object]
version = "0.1.1"

[dependencies.pdfrum-page]
version = "0.1.1"

[dependencies.pdfrum-script]
version = "0.1.1"
optional = true

[dependencies.thiserror]
version = "=2.0.20"

[dev-dependencies.pdfrum-parser]
version = "0.1.1"

[lints.clippy]
expect_used = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"