Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-09-03 | docs: add changelog | Martin Fischer | |
2023-08-19 | feat: introduce NaiveParser | Martin Fischer | |
2023-08-19 | break!: remove DefaultEmitter from public API | Martin Fischer | |
2023-08-19 | chore: move internal re-export after public API | Martin Fischer | |
2023-08-19 | fix(docs): fix broken relative link in rustdoc | Martin Fischer | |
2023-08-19 | break!: introduce AttributeMap | Martin Fischer | |
This has a number of benefits: * it hides the implementation of the map * it hides the type used for the map values (which lets us e.g. change name_span to name_offset while still being able to provide a convenient `Attribute::name_span` method.) * it lets us provide convenience impls for the map such as `FromIterator<(String, String)>` | |||
2023-08-19 | chore: move Attribute to attr module | Martin Fischer | |
This is done separately so that the following commit has a cleaner diff. | |||
2023-08-19 | feat!: add offset to comments | Martin Fischer | |
2023-08-19 | refactor!: remove Span trait, just use Range | Martin Fischer | |
`std::mem::size_of::<Range<NoopOffset>>()` is 0 so there's no need to abstract over Range. | |||
2023-08-19 | chore: demote missing_docs lint to warn | Martin Fischer | |
`#![deny(missing_docs)]` makes `cargo test` abort immediately if any public API member is missing a doc comment ... which is quite annoying when experimenting with API designs. Also sometimes refactor commits (such as the very next commit) introduce new types that are then immediately removed afterwards, this should be possible without having to add a `/// TODO``` (which contrary to a compiler warning is easy to miss). | |||
2023-08-19 | break!: stop re-exporting reader traits & types | Martin Fischer | |
This is primarily done to make the rustdoc more readable (by grouping Reader, IntoReader, StringReader and BufReadReader in the reader module). Ideally IntoReader is already implemented for your input type and you don't have to concern yourself with these traits / types at all. | |||
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 | break!: remove InfallibleTokenizer in favor of Iterator::flatten | 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 | spans: support attribute names | Martin Fischer | |
2021-12-05 | spans: add span tests | Martin Fischer | |
2021-12-05 | spans: copy DefaultEmitter to new span module | Martin Fischer | |
2021-12-05 | allow setting the Tokenizer to Data, PlainText, RcData, RawText and ↵ | Martin Fischer | |
ScriptData states | |||
2021-12-05 | prepare for introduction of public State enum | Martin Fischer | |
2021-11-27 | split up match-arms and tokenizer to isolate some tokenizer-internal state | Markus Unterwaditzer | |
purpose: don't want to expose self.to_reconsume to the consume() method | |||
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 | |