aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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