aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to move some code to `event.rs`Libravatar Titus Wormer2022-08-111-1/+1
|
* Refactor to move some code to `state.rs`Libravatar Titus Wormer2022-08-111-0/+1
|
* Refactor to improve statesLibravatar Titus Wormer2022-07-291-2/+2
| | | | | | | | | | | | * Remove custom kind wrappers, use plain bytes instead * Remove `Into`s, use the explicit expected types instead * Refactor to use `slice.as_str` in most places * Remove unneeded unique check before adding a definition * Use a shared CDATA prefix in constants * Inline byte checks into matches * Pass bytes back from parser instead of whole parse state * Refactor to work more often on bytes * Rename custom `size` to `len`
* Refactor to work on bytes (`u8`)Libravatar Titus Wormer2022-07-291-1/+1
|
* Refactor to work on `char`sLibravatar Titus Wormer2022-07-281-8/+7
| | | | | | | | | | | | | | | Previously, a custom char implementation was used. This was easier to work with, as sometimes “virtual” characters are injected, or characters are ignored. This replaces that with working on actual `char`s. In the hope of in the future working on `u8`s, even. This simplifies the state machine somewhat, as only `\n` is fed, regardless of whether it was a CRLF, CR, or LF. It also feeds `' '` instead of virtual spaces. The BOM, if present, is now available as a `ByteOrderMark` event.
* Remove unneeded `rust` language flagsLibravatar Titus Wormer2022-07-191-6/+6
|
* Change to improve `default_line_ending` apiLibravatar Titus Wormer2022-07-181-4/+4
|
* Add support for turning off constructsLibravatar Titus Wormer2022-07-181-9/+223
|
* Refactor to move options to `lib/`Libravatar Titus Wormer2022-07-181-1/+159
|
* Refactor to move token types to `token`Libravatar Titus Wormer2022-07-071-0/+1
|
* Refactor to do some to dosLibravatar Titus Wormer2022-07-051-2/+2
|
* Add support for unicode punctuationLibravatar Titus Wormer2022-07-041-0/+1
|
* Add support for inferring line ending, configurableLibravatar Titus Wormer2022-06-211-5/+6
| | | | | | * Rename `CompileOptions` to `Options` * Add support for an optional default line ending style * Add support for inferring the used line ending style
* Add support for sanitizing urlsLibravatar Titus Wormer2022-06-131-0/+1
| | | | | | * Add support for properly encoding characters in urls * Add support for sanitizing potentially dangerous urls * Add safe defaults, optionally live dangerously
* Add basic subtokenization, string content in fenced codeLibravatar Titus Wormer2022-06-091-0/+1
|
* .Libravatar Titus Wormer2022-06-081-0/+52