web-api-cat 0.2.0

Bindings between boa-cat (JS engine) and the DOM (html-cat tree) plus fetch (net-cat). Exposes `document`, `Element` methods, and `fetch` as boa-cat NativeFns so scripts can read/mutate a parsed HTML document and make synchronous HTTP requests. v0.2.0 adds `extract_document` that walks the post-script JS-side DOM tree and reconstructs a `dom_cat::Document` so callers can back-propagate scripted mutations into layout-cat. No mut, no Rc/Arc, no interior mutability, no panics. Seventh sub-crate of a Servo-replacement webview runtime targeting Tauri.
# 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"
name = "web-api-cat"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bindings between boa-cat (JS engine) and the DOM (html-cat tree) plus fetch (net-cat). Exposes `document`, `Element` methods, and `fetch` as boa-cat NativeFns so scripts can read/mutate a parsed HTML document and make synchronous HTTP requests. v0.2.0 adds `extract_document` that walks the post-script JS-side DOM tree and reconstructs a `dom_cat::Document` so callers can back-propagate scripted mutations into layout-cat. No mut, no Rc/Arc, no interior mutability, no panics. Seventh sub-crate of a Servo-replacement webview runtime targeting Tauri."
readme = "README.md"
keywords = [
    "dom",
    "fetch",
    "javascript",
    "boa",
    "type-driven",
]
categories = ["web-programming"]
license = "MIT OR Apache-2.0"

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

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

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

[dependencies.boa-cat]
version = "0.2"

[dependencies.dom-cat]
version = "0.1"

[dependencies.html-cat]
version = "0.1"

[dependencies.net-cat]
version = "0.1"

[dev-dependencies.ecma-lex-cat]
version = "0.1"

[dev-dependencies.ecma-parse-cat]
version = "0.1"

[dev-dependencies.proptest]
version = "1"

[lints.clippy]
manual_map = "warn"
needless_pass_by_value = "warn"

[lints.clippy.all]
level = "deny"
priority = -1

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