Cargo Features
[dependencies]
scraper = { version = "0.25.0", default-features = false, features = ["deterministic", "main", "atomic", "errors", "serde"] }
- default = errors, main
-
These default features are set whenever
scraperis added withoutsomewhere in the dependency tree.default-features = false - deterministic = indexmap
-
Affects
node::Attributes,node::AttributesIter… - main default = getopts
-
Required by the binary
- atomic
- errors default
-
Affects
html::Html.errors… - serde
-
Enables serde
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.