Cargo Features
[dependencies]
html5gum = { version = "0.7.0", default-features = false, features = ["tree-builder", "jetscii"] }
- default = jetscii
-
By default this crate depends on the jetscii library for best performance.
Disabling this feature will leave you with 100% safe Rust and no dependencies.
This may come in handy if you encounter packaging/build problems. - tree-builder = html5ever, markup5ever_rcdom
-
The tree-builder feature contains utilities to use html5ever's DOM and tree builder with html5gum's tokenizer.
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.
- html5ever tree-builder?
-
Enables html5ever ^0.27.0
intentionally held back from 0.29 until scraper updates
Affects
emitters::html5ever
… - markup5ever_rcdom tree-builder?
- jetscii default