tl
tl is an efficient and easy to use HTML parser written in Rust.
It does minimal to no copying during parsing by borrowing parts of the input string.
Additionally, it keeps track of parsed elements and stores elements with an id attribute
in an internal HashMap, which makes get_element_by_id as well as get_elements_by_class_name very fast.
Examples
Finding an element by its id attribute and printing the inner text:
Usage
Add tl to your dependencies.
[]
= "0.1.0"