chore(domain): R4.5 scaffold: content and png modules, test targets, lopdf as a dev-dependency

This commit is contained in:
bchanot committed 2026-10-18 22:41:46 +02:00
1 parent e0540ed006
commit 5dd4c26f18
8 files changed
+275

No files matched your search

+15
View File
@@ -29,6 +29,9 @@ ts-rs = { workspace = true, optional = true }
miniz_oxide = { workspace = true, optional = true }
[dev-dependencies]
# Reads the PDFs the tests compare (the R3 fixtures and the R4 output): objects, streams,
# annotations; never in the library.
lopdf = { version = "0.45.0", default-features = false }
# Digests of the frozen R4 oracles (bytes and JSON texts the TypeScript recorded as sha256).
sha2.workspace = true
@@ -65,5 +68,17 @@ required-features = ["pdf-write"]
name = "pdf_layout"
required-features = ["pdf-write"]
[[test]]
name = "pdf_content"
required-features = ["pdf-read", "pdf-write"]
[[test]]
name = "pdf_png"
required-features = ["pdf-read", "pdf-write"]
[[test]]
name = "pdf_serialize"
required-features = ["pdf-read", "pdf-write"]
[lints]
workspace = true