(lang dune 3.20) (name html5rw) (generate_opam_files true) (license MIT) (authors "Anil Madhavapeddy ") (homepage "https://tangled.org/@anil.recoil.org/ocaml-html5rw") (maintainers "Anil Madhavapeddy ") (bug_reports "https://tangled.org/@anil.recoil.org/ocaml-html5rw/issues") (maintenance_intent "(latest)") (package (name html5rw) (synopsis "Pure OCaml HTML5 parser implementing the WHATWG specification") (description "A pure OCaml HTML5 parser that passes the html5lib-tests suite. \ Implements the WHATWG HTML5 parsing specification including tokenization, \ tree construction, encoding detection, and CSS selector queries.") (depends (ocaml (>= 5.1.0)) (astring (>= 0.8.5)) (bytesrw (>= 0.3.0)) (uutf (>= 1.0.0)) (uuuu (>= 0.3.0)) (uunf (>= 15.0.0)) (xmlm (>= 1.4.0)) langdetect (odoc :with-doc) (jsont (>= 0.2.0)) (cmdliner (>= 1.3.0)))) (package (name html5rw-js) (synopsis "Browser-based HTML5 parser via js_of_ocaml/wasm_of_ocaml") (description "JavaScript and WebAssembly builds of the html5rw HTML5 parser for browser use. \ Includes a main validator library, web worker for background validation, and \ browser-based test runner.") (depends (ocaml (>= 5.1.0)) (html5rw (= :version)) (js_of_ocaml (>= 5.0)) (js_of_ocaml-ppx (>= 5.0)) (wasm_of_ocaml-compiler (>= 5.0)) (brr (>= 0.0.6))))