feat(domain): R4.4 scaffold of the pdf writer module (feature pdf-write, text contract, test targets)

This commit is contained in:
bchanot committed 2026-10-18 21:31:10 +02:00
1 parent a3f756513c
commit 71bcb742c9
13 files changed
+92 -4

No files matched your search

+10
View File
@@ -17,6 +17,8 @@ ts = ["dep:ts-rs"]
# The PDF reader (R4, plan §B.1.2): byte scan, inflation, attachment probe, import. The wasm
# facade enables it; the worker never does.
pdf-read = ["dep:miniz_oxide"]
# The PDF writer (R4, plan §B.1.3): layout to a draw log (R4.4), the serialiser (R4.5).
pdf-write = []
[dependencies]
serde.workspace = true
@@ -55,5 +57,13 @@ required-features = ["pdf-read"]
name = "pdf_robustness"
required-features = ["pdf-read"]
[[test]]
name = "pdf_text"
required-features = ["pdf-write"]
[[test]]
name = "pdf_layout"
required-features = ["pdf-write"]
[lints]
workspace = true