Skip to content

Releases: oxidecomputer/daft

daft 0.1.5

29 Sep 18:31
5dc889e

Choose a tag to compare

Fixed

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

daft 0.1.4

30 Jun 03:15
dce2697

Choose a tag to compare

Added

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

daft 0.1.3

01 Apr 22:19
2de1230

Choose a tag to compare

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

10 Mar 21:17
5343fbb

Choose a tag to compare

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

11 Feb 05:32
092c10c

Choose a tag to compare

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

11 Feb 00:22
ba674b9

Choose a tag to compare

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