Skip to content

Releases: okready/visiting_ref

0.2.0

30 Dec 01:01
v0.2.0
c8c7d9b
Compare
Choose a tag to compare

Added

  • VisitingRef::run_with and VisitingMut::run_with functions that wrap both creation of a VisitingRef or VisitingMut and running an asynchronous closure with the VisitingRef or VisitingMut as an argument.
  • Binary, LowerExp, LowerHex, Octal, Pointer, UpperExp, and UpperHex implementations for VisitingRef and VisitingMut.
  • Unit tests for all custom string formatting trait implementations.
  • Example in top-level crate documentation for using the crate to work around lifetime declaration limitations in certain scenarios when using asynchronous closures as function arguments.
  • Table of contents in top-level crate documentation.

Changed

  • Remove ManuallyDrop wrapping from Debug trait output for VisitingRef and VisitingMut for clarity and to avoid confusing VisitingRef<T> or VisitingMut<T> with VisitingRef<ManuallyDrop<T>> or VisitingMut<ManuallyDrop<T>>.
  • Simplify dev-dependencies and adjust example code in documentation comments in response.

Fixed

  • Grammar in crate description.

0.1.0

09 Dec 02:43
v0.1.0
08c71e5
Compare
Choose a tag to compare

Added

  • Initial release.