Cargo Features
[dependencies]
reqwest-scraper = { version = "0.5.8", 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
somewhere in the dependency tree.default-features = false - jsonpath default = jsonpath_lib, serde, serde_json
-
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.