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
26 lines
744 B
TOML
26 lines
744 B
TOML
[package]
|
|
name = "wordcraft-doc"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "WordCraft document model: stories, paragraphs, runs, tables, sections, styles, numbering, fields, notes, comments, revisions; edit primitives"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# Test inputs other crates' tests share (`cfb_guard::repeating_difat_sample`); turned on only as a
|
|
# dev-dependency, so never built into the app.
|
|
test-support = []
|
|
|
|
[dependencies]
|
|
wordcraft-geom = { workspace = true }
|
|
base64 = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
unicode-segmentation = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
proptest = { workspace = true }
|