Skip to content

Releases: oxidecomputer/daft

daft 0.1.7

Choose a tag to compare

@github-actions github-actions released this 15 May 07:26
40b20c4

Fixed

  • IndexMapDiff and IndexSetDiff are now re-exported at the crate root, matching the other map and set diff types, and have rustdoc examples.

daft 0.1.6

Choose a tag to compare

@github-actions github-actions released this 14 May 18:47
1d5ee7c

Added

Support for indexmap under the optional indexmap feature. Thanks scoopr for your first contribution!

Fixed

  • The Diffable derive macro now works properly if there are no struct fields to compare (either empty structs or all fields marked #[daft(ignore)].)

daft 0.1.5

Choose a tag to compare

@github-actions github-actions released this 29 Sep 18:31
5dc889e

Fixed

Replaced obsolete doc_auto_cfg with doc_cfg, to fix Rust nightly builds with the doc_cfg flag enabled.

daft 0.1.4

Choose a tag to compare

@github-actions github-actions released this 30 Jun 03:15
dce2697

Added

  • Implement Diffable for NonZero types. Thanks itsjunetime for your first contribution!

daft 0.1.3

Choose a tag to compare

@github-actions github-actions released this 01 Apr 22:19
2de1230

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

Choose a tag to compare

@github-actions github-actions released this 10 Mar 21:17
5343fbb

Fixed

  • Semantic errors (e.g. a field not implementing Diffable) are better annotated.
  • The Diffable derive macro now produces references to core rather than to std, meaning that the code it generates is no-std compatible.

daft 0.1.1

Choose a tag to compare

@github-actions github-actions released this 11 Feb 05:32
092c10c

Added

  • Add Leaf::is_unchanged and Leaf::is_modified when the stored type is Eq.
  • Add BTreeMapDiff::is_unchanged, BTreeMapDiff::is_modified, BTreeMapDiff::get_unchanged, BTreeMapDiff::get_modified, and similar methods for HashMapDiff when map values are Eq.

daft 0.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Feb 00:22
ba674b9

Initial release with support for:

  • Diffing maps, sets, and structs recursively
  • Eager and lazy diffing
  • No-std support
  • The Diffable derive macro
  • Implementations for oxnet, uuid, and newtype-uuid