test(pdf): R3 O4 corpus edge cases (Number() values, namespaces, BOM, refused subtrees); roxmltree dependency

This commit is contained in:
bchanot committed 2026-10-14 23:34:34 +02:00
1 parent 5f53aaa222
commit e3168215f7
11 files changed
+206 -1

No files matched your search

+4
View File
@@ -24,6 +24,10 @@ serde_json = { version = "1.0.154", features = ["preserve_order", "float_roundtr
ts-rs = { version = "12.0", features = ["serde-compat", "no-serde-warnings"] }
# Zod `.url()` is `new URL()`: the WHATWG parser of the url crate reproduces it (R2 plan P2).
url = "2.5.8"
# SVG reading (R3): a read-only XML tree, DTD refused by default, node limit; positions give
# the qualified names the allowlist matches. Its tree building recurses: the core prescan caps
# the nesting depth before any parse (crates/core/src/anatomy/svg/prescan.rs).
roxmltree = { version = "=0.21.1", default-features = false, features = ["std", "positions"] }
# The CLI in docker/rust-builder.Dockerfile must be this exact version.
wasm-bindgen = "=0.2.129"
image = { version = "0.25.10", default-features = false, features = ["jpeg", "png", "webp"] }