orium / rpds

Rust persistent data structures
Mozilla Public License 2.0
1.28k stars 58 forks source link

Update pretty_assertions requirement from 0.7 to 1.0 #60

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Updates the requirements on pretty_assertions to permit the latest version.

Release notes

Sourced from pretty_assertions's releases.

v1.0.0

Note: As pretty_assertions has in practice had a stable API for several years, this feature release takes the opportunity to increment the version to 1.0.0 instead of 0.8.0. No breaking changes are expected.

Removed

  • assert_ne no longer warns if values match using PartialEq but not with Debug. This was noted as no longer being necessary after Rust 1.25 (current MSRV 1.35.0)

Added

  • Officially support no_std (thanks to @​Luro02 for the report and reviews!). Adds the std and alloc features to the pretty_assertions crate, with std enabled by default (#83, @​tommilligan)
  • Adds the unstable feature to the pretty_assertions crate, for use with nightly rustc (#81, @​tommilligan)
  • Add a drop in replacement for the unstable stdlib assert_matches macro, behind the unstable flag - thanks @​gilescope for the suggestion! (#81, @​tommilligan)
Changelog

Sourced from pretty_assertions's changelog.

v1.0.0

Removed

  • assert_ne no longer warns if values match using PartialEq but not with Debug. This was noted as no longer being necessary after Rust 1.25 (current MSRV 1.35.0)

Added

  • Officially support no_std (thanks to @​Luro02 for the report and reviews!). Adds the std and alloc features to the pretty_assertions crate, with std enabled by default (#83, @​tommilligan)
  • Adds the unstable feature to the pretty_assertions crate, for use with nightly rustc (#81, @​tommilligan)
  • Add a drop in replacement for the unstable stdlib assert_matches macro, behind the unstable flag - thanks @​gilescope for the suggestion! (#81, @​tommilligan)

v0.7.2

v0.7.1

  • Fix a bug where multiline changes showed an unhelpful inline diff (#66, @​tommilligan)

v0.7.0

Changed

  • Move from difference to diff for calculating diffs. The exact assertion messages generated may differ from previous versions. (#52, @​tommilligan)

For example, the following assertion message from v0.7.0:

pretty assertion

Was previously rendered like this in v0.6.1:

pretty assertion

Added

  • Support for unsized values (#42, @​stanislav-tkach)
  • Document the Comparison struct, which was previously hidden. This can be used to generate a pretty diff of two values without panicking. (#52, @​tommilligan)

Fixed

Internal

Commits
  • 737c861 Merge pull request #83 from tommilligan/assert-eq-no-std
  • 659b66b chore: prepare for v1.0.0 release
  • 0a32464 feat: fix and test for no_std with alloc
  • 9ef3e0d Merge pull request #81 from tommilligan/assert-matches
  • d084599 chore: update tarpaulin version
  • 799d2b2 feature: add assert_matches as unstable feature
  • 55f9b7a Merge pull request #78 from tommilligan/test-macro-integrate
  • c45600c chore: make macro tests external
  • 9746ead Merge pull request #77 from tommilligan/fix-bench-std
  • a9ba6c2 bench: fix std comparison benchmarks
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codecov-commenter commented 3 years ago

Codecov Report

Merging #60 (5c09cae) into master (9bb3e27) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #60   +/-   ##
=======================================
  Coverage   91.89%   91.89%           
=======================================
  Files          11       11           
  Lines        1603     1603           
=======================================
  Hits         1473     1473           
  Misses        130      130           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9bb3e27...5c09cae. Read the comment docs.