Releases: djkoloski/munge
Releases · djkoloski/munge
0.4.0
This minor release slims down and simplifies the implementations of Destructure
and Restructure
, greatly improves the crate documentation and examples, and allows specifying whether move destructuring or borrow destructuring should be used for each type.
0.3.0
This minor release switches the munge!
macro to use a proc-macro for improved performance and code clarity. Raw pointer destructuring has been removed because it carries some hidden overhead to avoid UB in some cases. Pinned pointer destructuring has been removed to slim down the API surface.
0.2.0
This minor release generalizes munge
to also work for raw pointers, cells, and Pin
s under certain conditions. It also removes the Munge
type and replaces it with Destructure
and Restructure
traits that can be implemented for custom types.
0.1.1
This bugfix release contains:
- #2 (fixes #1): Warnings are now emitted when
munge!
destructuring creates references to packed fields.
Thanks to @ComputerDruid for discovering the issue.