Add compiler and server regression tests

Expose the compiler session as a library target, run core as a workspace member, and add direct typeset tests plus end-to-end HTTP tests. Coverage: examples, arXiv fixture, starred headings, rectangles, errors, page-hash cache stability, static frontend assets, project API, preview/PDF, traversal rejection, and the legacy endpoint.
This commit is contained in:
gloamxun committed 2026-10-19 12:31:05 +08:00
1 parent ff9717397e
commit bad477fbee
9 files changed
+501 -3

No files matched your search

+6
View File
@@ -10,6 +10,9 @@ description = "Rust-native incremental LaTeX typesetting engine with a live prev
name = "texrra"
path = "src/main.rs"
[workspace]
members = ["crates/texrra-core"]
[dependencies]
texrra-core = { path = "crates/texrra-core", features = ["serde"] }
flate2 = "1.1"
@@ -32,3 +35,6 @@ ttf-parser = "0.25.1"
[patch."https://github.com/jamespfennell/texcraft"]
texlang = { path = "vendor/texlang" }
texlang-stdlib = { path = "vendor/texlang-stdlib" }
[dev-dependencies]
serde_json = "1"