html5ever
html5ever copied to clipboard
Create new types for Tokenizer and TreeBuilder which are `Send`
This is needed for speculative parsing in Servo, where one needs to send the tokenizer state between threads. I created a Sendable trait, which is implemented by both the Tokenizer and the TreeBuilder.
Servo side PR: https://github.com/servo/servo/pull/19203
:umbrella: The latest upstream changes (presumably #357) made this pull request unmergeable. Please resolve the merge conflicts.