Registry / utility / tl
library0.7.8rscratesunverified

A fast HTML parser written in pure Rust.

# Cargo.toml [dependencies] tl = "0.7.8"
INSTALL
IMPORT
SIG · TL
T
tl
utilityrustv0.7.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

parse
✓ use tl::parse;

Parses an HTML string and queries for a paragraph element.

use tl::parse; let html = "<p>Hello</p>"; let dom = parse(html, tl::ParserOptions::default()).unwrap(); if let Some(node) = dom.query_selector("p").unwrap().next() { println!("Found: {:?}", node.get(dom.parser())); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.8latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
tl — cargo add tl · libregistry