visit_diff

Crates.iovisit_diff
lib.rsvisit_diff
version0.1.1
sourcesrc
created_at2019-02-17 23:51:44.195953
updated_at2019-06-22 15:35:36.32806
descriptionEfficiently finding differences between data structures.
homepage
repositoryhttps://github.com/cbiffle/visit-diff
max_upload_size
id115490
size89,726
Cliff L. Biffle (cbiffle)

documentation

README

visit_diff: analyzing structural differences in Rust

Build Status

This is a library for easily comparing Rust data structures to detect differences. This is useful, for example, when reporting a test failure.

The simplest use case:

  1. Put a #[derive(Diff)] annotation on your type.

  2. Replace assert_eq! with assert_eq_diff!.

Now your error messages will highlight diffs instead of making you hunt for them manually.

See the API docs on the module for more.

Commit count: 68

cargo fmt