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

Update derive_more requirement from =1.0.0-beta.3 to =1.0.0-beta.6 #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 20, 2023

Updates the requirements on derive_more to permit the latest version.

Release notes

Sourced from derive_more's releases.

1.0.0-beta.6

API docs Changelog

Changelog

Sourced from derive_more's changelog.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

1.0.0 - Unreleased

Breaking changes

  • The minimum supported Rust version (MSRV) is now Rust 1.72.
  • Add the std feature which should be disabled in no_std environments.
  • All Cargo features, except std, are now disabled by default. The full feature can be used to get the old behavior of supporting all possible derives.
  • The TryFrom, Add, Sub, BitAnd, BitOr, BitXor, Not and Neg derives now return a dedicated error type instead of a &'static str on error.
  • The FromStr derive now uses a dedicated FromStrError error type instead of generating unique one each time.
  • The Display derive (and other fmt-like ones) now uses #[display("...", (<expr>),*)] syntax instead of #[display(fmt = "...", ("<expr>"),*)], and #[display(bound(<bound>))] instead of #[display(bound = "<bound>")]. So without the double quotes around the expressions and bounds.
  • The DebugCustom derive is renamed to just Debug (gated now under a separate debug feature), and its semantics were changed to be a superset of std variant of Debug.
  • The From derive doesn't derive From<()> for enum variants without any fields anymore. This feature was removed because it was considered useless in practice.
  • The From derive now uses #[from(<types>)] instead of #[from(types(<types>))] and ignores field type itself.
  • The Into derive now uses #[into(<types>)] instead of #[into(types(<types>))] and ignores field type itself.
  • The Into derive now generates separate impls for each field whenever the #[into(...)] attribute is applied to it. (#291)
  • Importing a derive macro now also import its corresponding trait.
  • The Error derive is updated with changes to the error_generic_member_access unstable feature for nightly users. (#200, #294)
  • The as_mut feature is removed, and the AsMut derive is now gated by the as_ref feature. (#295)

Added

  • Add support captured identifiers in Display derives. So now you can use: #[display(fmt = "Prefix: {field}")] instead of needing to use

... (truncated)

Commits
  • 1196b2d Update README in preparation of release
  • 712186f chore: Release
  • 75bdca0 chore: Release
  • 69d9fa7 Update README in preparation of release
  • 424a03f Merge remote-tracking branch 'refs/remotes/origin/master'
  • 50ae43b Add field-specific functionality to Into (#291)
  • 79fa7e1 chore: Release
  • ff3cd94 Update README in preparation of release
  • 81660fc Fix compile_fail tests for 1.73 stable Rust (#305)
  • da9709d Refactor and unify new attribute parsing (#303)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [derive_more](https://github.com/JelteF/derive_more) to permit the latest version.
- [Release notes](https://github.com/JelteF/derive_more/releases)
- [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md)
- [Commits](JelteF/derive_more@derive_more-impl-v1.0.0-beta.3...v1.0.0-beta.6)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 20, 2023
@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Merging #17 (2caf470) into master (fcb2f74) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #17   +/-   ##
=======================================
  Coverage   94.69%   94.69%           
=======================================
  Files           3        3           
  Lines         528      528           
=======================================
  Hits          500      500           
  Misses         28       28           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants