assert_json_diff
Run this command in a terminal, in your project's directory:
cargo add --dev assert-json-diff
to add it a dev dependency (if it's used only in tests, not in the final product). To add it as a regular run-time dependency, run:
cargo add assert-json-diff
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
Cargo.toml
[dependencies]
assert-json-diff = "2.0.2"
The assert_json_diff library will be automatically available globally. Read the assert_json_diff library documentation.
Back to the crate overview.