Commit 188742d
Add a Rust implementation of the Perl preprocessing logic
This implementation uses a full HTML parser (Servo's, html5ever) and operates on a DOM. It ends up being somewhat more verbose than Perl, but hopefully also more extensible/maintainable.
For now, this is hidden behind the PROCESS_WITH_RUST environment variable. That environment variable is used by default for the Docker path, but not otherwise. Subsequent work will remove the Perl implementations entirely.1 parent 54c7524 commit 188742d
File tree
17 files changed
+2968
-6
lines changed- ci-build
- src
17 files changed
+2968
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments