Skip to content

v0.3.1

Compare
Choose a tag to compare
@hschimke hschimke released this 12 Feb 15:37
· 372 commits to main since this release

Includes support for using closures when passing NEEDS_RESULT_CALLBACK as a decode hint.

The move from v0.3.0 -> v0.3.1 includes numerous fixes in the ongoing processing of making the code follow rust best practices. This includes a dramatic reduction in the number of unprotected unwrap() and expect() calls. Most of the functions left where these can occur are now labeled as possibly panicking, given the specifics of how that might happen.

Most situations where DecodeHints included boolean values have now been correctly changed to only branch if the value is 'true' rather than branching simply if the value is present. This was counterintuitive since the corresponding DecodeHintValue contained a boolean.