[package]
name = "web-api-cat"
version = "0.7.7"
edition = "2024"
description = "Bindings between boa-cat (JS engine) and the DOM (html-cat tree) plus fetch (net-cat). v0.7.7 adds `Element.dataset`: a snapshot Object on each parsed element whose properties are the camelCase suffixes of all `data-*` attributes. `<div data-user-name='alice'>` becomes `el.dataset.userName === 'alice'`. `createElement` output starts with an empty dataset. Snapshot semantics: runtime `setAttribute('data-foo', 'x')` and `el.dataset.foo = 'x'` don't sync to each other (no Proxy support). `inline_style::kebab_to_camel` promoted to `pub` for the dataset builder. Seventh sub-crate of a Servo-replacement webview runtime targeting Tauri."
license = "MIT OR Apache-2.0"
keywords = ["dom", "fetch", "javascript", "boa", "type-driven"]
categories = ["web-programming"]
[dependencies]
boa-cat = "0.7.2"
html-cat = "0.1"
net-cat = { version = "0.3", features = ["tls"] }
dom-cat = "0.1"
[dev-dependencies]
proptest = "1"
ecma-lex-cat = "0.1"
ecma-parse-cat = "0.3"
[lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "warn", priority = -1 }
needless_pass_by_value = "warn"
manual_map = "warn"