mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-27 03:47:09 -06:00
- repeating_difat_sample is built only for tests: this crate's, and the readers' through a `test-support` feature they turn on as a dev-dependency; it is no longer in the production API. - Tests write valid compound files with the cfb crate in Word's and Excel's shapes (WordDocument + table stream with Data, summary and ObjectPool streams; Workbook with summary streams), in 512- and 4096-byte sectors, plus an 8 MB one whose FAT sectors spill into a DIFAT chain; each passes cfb_guard::check and opens (no Word- or Excel-made files are added). - The .doc work budget notes what it leaves out (floating objects, link targets, alt text, Prm formatting) and logs one warning per kind once the document is read (#3692). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CX1hMKX28764Lrx5moxs1o
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[package]
|
|
name = "wordcraft-docx"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "WordCraft DOCX (OOXML WordprocessingML) reader and writer"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
wordcraft-doc = { workspace = true }
|
|
wordcraft-geom = { workspace = true }
|
|
quick-xml = { workspace = true }
|
|
zip = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
chrono = { workspace = true }
|
|
unicode-bidi = { workspace = true }
|
|
cfb = { workspace = true }
|
|
aes = { workspace = true }
|
|
sha1 = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
hmac = { workspace = true }
|
|
base64 = { workspace = true }
|
|
getrandom = { workspace = true }
|
|
zeroize = { workspace = true }
|
|
|
|
# The browser's `crypto.getRandomValues` for the salts and keys of encrypted saves.
|
|
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
|
|
getrandom = { workspace = true, features = ["wasm_js"] }
|
|
|
|
[dev-dependencies]
|
|
wordcraft-doc = { workspace = true, features = ["test-support"] }
|
|
proptest = { workspace = true }
|
|
image = { workspace = true }
|
|
zip = { workspace = true }
|