pretty_assertions

crates.io v1.4.1

2,097,395 weekly downloads · 2 Dependencies

Source data as of:

Summary

Overwrite asserteq! and assertne! with drop-in replacements, adding colorful diffs.

Install cargo add pretty_assertions

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 2,097,395 Source: crates.io (Rust)
Releases 26 Last release: 2024-09-15 Source: crates.io (Rust)
Dependencies 2 Source: crates.io (Rust)

Description

Overwrite asserteq! and assertne! with drop-in replacements, adding colorful diffs.

Registry-supplied description, cleaned to plain text. Source: crates.io (Rust).

Show original (raw) description
Overwrite `assert_eq!` and `assert_ne!` with drop-in replacements, adding colorful diffs.

Package details

Package
pretty_assertions
Registry
crates.io
Version
1.4.1
Weekly downloads
2,097,395 (weekly)
Dependencies
2: diff, yansi
Releases
26
Last release
2024-09-15
First published
2017-03-26
Keywords
assert, color, diff, pretty
Repository
https://github.com/rust-pretty-assertions/rust-pretty-assertions

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 26.4 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 18.7 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 58.7 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources