mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-31 15:49:36 +00:00
The only content conflict was crates/engine/src/lib.rs: main moved EditCtx and run_edit into edit.rs, while this branch taught Protect to draw keys and salts from getrandom and fail closed. Keep main's module split and apply that CSPRNG behaviour on EditCtx in edit.rs. The regression test imports EditCtx and run_edit from the edit module. Co-authored-by: jonathanwxh-cell <jonathanwxh-cell@users.noreply.github.com>