Releases: oxidecomputer/daft
Releases · oxidecomputer/daft
daft 0.1.5
Fixed
Replaced obsolete doc_auto_cfg with doc_cfg, to fix Rust nightly builds with the doc_cfg flag enabled.
daft 0.1.4
Added
- Implement
DiffableforNonZerotypes. Thanks itsjunetime for your first contribution!
daft 0.1.3
Fixed
The Diffable derive macro now produces both code and errors when the only errors are duplicate struct and field attribute errors.
Thanks to schneems for your first contribution; be sure to read his blog post about Daft's error handling!
daft 0.1.2
Fixed
- Semantic errors (e.g. a field not implementing
Diffable) are better annotated. - The
Diffablederive macro now produces references tocorerather than tostd, meaning that the code it generates is no-std compatible.
daft 0.1.1
Added
- Add
Leaf::is_unchangedandLeaf::is_modifiedwhen the stored type isEq. - Add
BTreeMapDiff::is_unchanged,BTreeMapDiff::is_modified,BTreeMapDiff::get_unchanged,BTreeMapDiff::get_modified, and similar methods forHashMapDiffwhen map values areEq.
daft 0.1.0
Initial release with support for:
- Diffing maps, sets, and structs recursively
- Eager and lazy diffing
- No-std support
- The
Diffablederive macro - Implementations for
oxnet,uuid, andnewtype-uuid