Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update pretty_assertions requirement from 0.7 to 1.0 #104

Merged
merged 1 commit into from Sep 29, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 29, 2021

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)

Updates the requirements on [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions) to permit the latest version.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases)
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](rust-pretty-assertions/rust-pretty-assertions@v0.7.0...v1.0.0)

---
updated-dependencies:
- dependency-name: pretty_assertions
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 29, 2021
@codecov
Copy link

codecov bot commented Sep 29, 2021

Codecov Report

Merging #104 (ff6d183) into main (08f3905) will decrease coverage by 0.18%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
- Coverage   83.32%   83.14%   -0.19%     
==========================================
  Files          45       45              
  Lines        2471     2474       +3     
==========================================
- Hits         2059     2057       -2     
- Misses        412      417       +5     
Impacted Files Coverage Δ
serde-encrypt-core/src/error.rs 17.15% <0.00%> (-0.24%) ⬇️
serde-encrypt/tests/feat_serde_types.rs 98.46% <0.00%> (-0.01%) ⬇️

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 08f3905...ff6d183. Read the comment docs.

@laysakura laysakura merged commit 1366793 into main Sep 29, 2021
@laysakura laysakura deleted the dependabot/cargo/pretty_assertions-1.0 branch September 29, 2021 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant