Repository navigation
fastframe 0.15.2
fastframe 0.15.2 lets an app test its own words for the missing-graphics dialog. Trouble gained a constructor, so a test can build the trouble the dialog hook receives for each cause.
Upgrade by moving every fastframe crate to the tag. Nothing changes in an app's code:
fastframe-graphics = { git = "https://github.com/crmne/fastframe", tag = "v0.15.2" }New
Trouble::new(app_name, cause, details, help_url).TroubleandCausestay#[non_exhaustive], so later fields and causes arrive without breaking an app, which left no way to make one outside fastframe. Keep the words in a function, pass it toGraphics::dialog, and call it in a test withTrouble::newfor eachCause; the method's documentation has an example. By @crmne; thanks to the Spotifast session, which found it while adopting 0.15.1.
Thanks
- The Spotifast session, for trying to test its translated dialog.
Full changelog: v0.15.1...v0.15.2