Repository navigation
edit-session v0.1.0-alpha.3 — tested command recovery
Pre-releaseedit-session v0.1.0-alpha.3
This experimental release adds a tested host command recovery example. The public library API and behavior are unchanged from alpha.2; it remains no_std, dependency-free and compatible with Rust 1.88+.
- Retain the draft and raw fields through atomic host-command rejection, recheck context/value on every retry, and close only after success or a checked no-op.
- Eight native host-example tests cover retry, invalid correction, document/target changes, Undo ABA, unversioned changes, duplicate confirmation, no-op/Redo and Cancel.
- Recovery guide, changelog and verified source-crate packaging.
Validation: 16 library lifecycle tests + 8 example tests + 1 compile-fail doctest; runnable example, formatting, strict all-target Clippy and source packaging pass. CI checks Rust 1.88 and stable. A controlled early-close mutation is caught by the recovery test. The tests exercise a small host model, not PhotoCraft/PdfCraft UI widgets; the host still owns serialized dispatch and atomic command failure.
From the source archive or a checkout at this tag:
cargo test --locked
cargo run --locked --example retry_commandThe attached .crate is a verified source archive, not an installed application. This is a GitHub prerelease, not a crates.io upload or upstream adoption; publish = false remains. Verify the downloaded asset against SHA256SUMS.