Crate soupy

Source
Expand description

§Soupy

soupy is a library for querying tree-based formats, similar to BeautifulSoup.

§Cargo Features

  • html: Support for HTML. Enabled by default.
    • html-lenient: Error-tolerant HTML parser. Slow. Enabled by default.
    • html-strict: Simple, fast HTML parser. Enabled by default.
  • xml: Support for XML. Enabled by default.
  • regex: Support for regex matching in queries. Enabled by default.

§License

soupy is dual-licensed under MIT and Apache-2.0.

Re-exports§

pub use crate::query::Queryable;

Modules§

filter
Filters for use in search queries
parser
Parser traits allow you to search different formats.
prelude
Prelude: convenient import for all the user-facing APIs provided by the crate
query
Core functionality. Builds queries for searching

Structs§

Soup
Parsed nodes

Traits§

Node
Basic queryable unit of the data structure
Pattern
A trait used to indicate a type which can be used to match a value