lectito
lectito is the Rust library crate for Lectito. It extracts readable article
content from HTML and returns cleaned HTML, Markdown, plain text, metadata, and
diagnostics.
Add it to a Rust project:
[]
= "0.1"
Use the library through the lectito crate name:
use ;
The crate does not fetch pages. Pass HTML from your own crawler, browser, cache, test fixture, or application code.
Extraction starts with structured metadata and known article containers before falling back to generic readability scoring.
Use content_selector when your caller already knows the article root, and use
extract_with_diagnostics when you need to debug root selection.