Cargo Features

[dependencies]
reqwest-scraper = { version = "0.4.0", default-features = false, features = ["jsonpath", "xpath", "css_selector", "macros"] }
default = css_selector, jsonpath, macros, xpath

These default features are set whenever reqwest-scraper is added without default-features = false somewhere in the dependency tree.

jsonpath default = jsonpath_lib, serde, serde_json

Enables json of reqwest

Affects reqwest-scraper::jsonpath, reqwest-scraper::ScraperResponse.jsonpath

xpath default = libxml

Affects reqwest-scraper::xpath, reqwest-scraper::FromXPath, reqwest-scraper::ScraperResponse.xpath

css_selector default = scraper

Affects reqwest-scraper::css_selector, reqwest-scraper::FromCssSelector, reqwest-scraper::ScraperResponse.css_selector

macros default = reqwest-scraper-macros

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

jsonpath_lib jsonpath
libxml xpath
scraper css_selector

Enables scraper ^0.19

serde jsonpath
serde_json jsonpath
reqwest-scraper-macros macros