Cargo Features

[dependencies]
scraper = { version = "0.18.1", default-features = false, features = ["deterministic", "main", "atomic", "errors"] }
default = errors, main

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

deterministic = indexmap

Affects node::Attributes, node::AttributesIter

main default = getopts

Required by the binary

atomic
errors default

Affects html::Html.errors

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

indexmap deterministic?
getopts main