chore(domain): R4.5 scaffold: content and png modules, test targets, lopdf as a dev-dependency
This commit is contained in:
1 parent
e0540ed006
commit
5dd4c26f18
8 files changed
+275
No files matched your search
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
//! R4.5a: the content stream emitter (pdf-lib operator sequences, `numberToString`). Written by the R4.5a track.
|
||||
@@ -7,8 +7,10 @@
|
||||
//! serialiser that turns the log into PDF bytes is R4.5.
|
||||
|
||||
pub mod afm_data;
|
||||
pub mod content;
|
||||
pub mod dates;
|
||||
pub mod draw_log;
|
||||
pub mod input;
|
||||
pub mod layout;
|
||||
pub mod png;
|
||||
pub mod text;
|
||||
@@ -0,0 +1 @@
|
||||
//! R4.5a: the branding PNG gate and the UPNG-rule decoder. Written by the R4.5a PNG track.
|
||||
@@ -0,0 +1 @@
|
||||
//! R4.5 placeholder, written by its track.
|
||||
@@ -0,0 +1 @@
|
||||
//! R4.5 placeholder, written by its track.
|
||||
@@ -0,0 +1 @@
|
||||
//! R4.5 placeholder, written by its track.
|
||||
Reference in new issue
Block a user