diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,11 @@ If you want to parse HTML into a tree (DOM) you should by all means use html5ever, this crate is merely for those who only want an HTML5 tokenizer and seek to minimize their compile dependencies (html5ever pulls in 56). +To efficiently resolve named entities like `&` the tokenizer uses +[phf](https://crates.io/crates/phf) for a compile-time static map. If you +don't need to resolve named entities, you can avoid the `phf` dependency +by disabling the `named-entities` feature (which is enabled by default). + ## Credits Thanks to the developers of html5ever for their awesome parser! |