feat(domain): R4.7 report-compare on the core: pdf::compare (feature cli, pure lines, runner over a Files trait), report-compare binary on the seed sheet, pnpm report:compare switched to it; O10 230 rows (158 exact, 72 declared A.3 closed lines), 11 cases as ledger targets, binary spawned; rust-check on cli
This commit is contained in:
1 parent
264c5fa3fc
commit
02ebf05195
17 files changed
+1598
-24
No files matched your search
@@ -19,6 +19,9 @@ ts = ["dep:ts-rs"]
|
||||
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 = ["pdf-read"]
|
||||
# The archive check tool (R4.7, plan §B.1.7): `pdf::compare` and the `report-compare` binary,
|
||||
# the one file of the crate that reads the file system. Never enabled by the wasm facade.
|
||||
cli = ["pdf-read", "pdf-write"]
|
||||
|
||||
[dependencies]
|
||||
serde.workspace = true
|
||||
@@ -28,6 +31,11 @@ roxmltree.workspace = true
|
||||
ts-rs = { workspace = true, optional = true }
|
||||
miniz_oxide = { workspace = true, optional = true }
|
||||
|
||||
[[bin]]
|
||||
name = "report-compare"
|
||||
path = "src/bin/report_compare.rs"
|
||||
required-features = ["cli"]
|
||||
|
||||
[dev-dependencies]
|
||||
# Reads the PDFs the tests compare (the R3 fixtures and the R4 output): objects, streams,
|
||||
# annotations; never in the library.
|
||||
@@ -84,5 +92,9 @@ required-features = ["pdf-read", "pdf-write"]
|
||||
name = "pdf_session"
|
||||
required-features = ["pdf-read", "pdf-write"]
|
||||
|
||||
[[test]]
|
||||
name = "pdf_compare"
|
||||
required-features = ["cli"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
Reference in new issue
Block a user