lithtml 0.8.0

A lightweight and fast HTML parser for Rust, designed to handle both full HTML documents and fragments efficiently.
Documentation
---
source: tests/element.rs
expression: dom
---
{
  "treeType": "documentFragment",
  "children": [
    {
      "name": "div",
      "variant": "normal",
      "attributes": {
        "id": "123"
      }
    },
    {
      "name": "div",
      "variant": "normal",
      "attributes": {
        "id": "321"
      }
    }
  ]
}