Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-08-19 | docs: remove `crate::` from link labels | Martin Fischer | |
2023-08-19 | break!: merge Tokenizer::new_with_emitter into Tokenizer::new | Martin Fischer | |
The Tokenizer does not perform any state switching, since proper state switching requires a feedback loop between tokenization and DOM tree building. Using the Tokenizer directly therefore is a bit of a pitfall, since you might not expect it to e.g. tokenize `<script><b>` as: StartTag(StartTag { name: "script", .. }) StartTag(StartTag { name: "b", .. }) Since we don't want to make walking into pitfalls particularly easy, this commit changes the Tokenizer::new method so that you have to specify the Emitter. Since this makes new_with_emitter redundant it is removed. | |||
2023-08-19 | docs: move note about Reader impls to Reader trait | Martin Fischer | |
2023-08-19 | break!: remove Never in favor of std::convert::Infallible | Martin Fischer | |
This change is a backport of 04e6cbe[1] from html5gum. [1]: https://github.com/untitaker/html5gum/commit/04e6cbe44bb7a388bd61d1c9cfe4c618eb3b0e29 | |||
2023-08-19 | docs: remove Tokenizer::new examples from Reader docs | Martin Fischer | |
2023-08-19 | break!: rename Readable to IntoReader | Martin Fischer | |
The trait of the standard library is also called IntoIterator and not Iterable. | |||
2021-12-05 | rename to html5tokenizer, bump versionv0.4.0 | Martin Fischer | |
2021-11-26 | Read html from io::BufRead (#8) | Markus Unterwaditzer | |
2021-11-26 | clean up reader interface | Markus Unterwaditzer | |
2021-11-24 | hello world | Markus Unterwaditzer | |