[repo] V1.1: PDF compress presets, PDF to Word, licence check #2
Reference in New Issue
Block a user
Delete Branch "feature/v1-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Day 2 (V1.1) of the core: PDF compress presets and PDF to Word, as worker operations, plus the licence check required by Day 2 test 3. The brief is the app repo's
docs/roadmap.md(Prompt 2). The app's day page isdocs/02_v1-1.md. Formats and the library choice per operation are indocs/FORMATS.md.What is in it
crates/pdf/src/compress.rs, workerpdf.compress). Three presets: E-mail (target ≤ 5 MB, stepping down 120 → 96 → 72 dpi), Web (150 dpi) and Print (300 dpi).crates/pdf/src/word.rs, workerpdf.to_word,pdf.page_png).scripts/deps.mjsnow lists every crate in Cargo.lock, for all platforms: 176 crates, none outside the allowed set.--checkfails when the table is out of date or a licence is outside the set.scripts/deps.test.mjstests the SPDX rule..fabrica/artifex/test.yaml: everything on the Windows runner (pdfium, corpus,cargo test --release, licences).Tests (146, all green on the head; clippy clean)
Self-review: what is weak or not done
src-tauri/tests/word_scriptum.rsthere.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.