Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Updates the requirements on derive_more to permit the latest version.

Changelog

Sourced from derive_more's changelog.

0.99.1 - 2019-11-12

Fixes

  • Hotfix for a regression in allowed From derives
    (#105)

0.99.0 - 2019-11-11

This release is a huge milestone for this library.
Lot's of new derives are implemented and a ton of attributes are added for
configuration purposes.
These attributes will allow future releases to add features/options without
breaking backwards compatibility.
This is why the next release with breaking changes is planned to be 1.0.0.

Breaking changes

  • Requires Rust 1.36+
  • When using in a Rust 2015 crate, you should add extern crate core to your
    code.
  • no_std feature is removed, the library now supports no_std without having
    to configure any features.
  • Deref derives now dereference to the type in the newtype. So if you have
    MyBox(Box<i32>), dereferencing it will result in a Box<i32> not an i32.
    To get the old behaviour of forwarding the dereference you can add the
    #[deref(forward)] attribute on the struct or field.

New features

  • Derives for AsRef, AsMut, Sum, Product, IntoIterator.
  • Choosing the field of a struct for which to derive the newtype derive.
  • Ignoring variants of enums when deriving From, by using #[from(ignore)].
  • Add #[from(forward)] attribute for From derives. This forwards the from
    calls to the fields themselves. So if your field is an i64 you can call from
    on an i32 and it will work.
  • Add #[mul(forward)] and #[mul_assign(forward)], which implement Mul and
    MulAssign with the semantics as if they were Add/AddAssign.
  • You can use features to cut down compile time of the crate by only compiling
    the code needed for the derives that you use. (see Cargo.toml for the
    features, by default they are all on)
  • Add #[into(owned, ref, ref_mut)] and #[try_into(owned, ref, ref_mut)]
    attributes. These cause the Into and TryInto derives to also implement
    derives that return references to the inner fields.
  • Make no_std work out of the box
  • Allow #[display(fmt="some shared display text for all enum variants {}")]
    attribute on enum.
  • Better bounds inference of Display trait.

Other things

... (truncated)
Commits
  • 01fcf71 (cargo-release) version 0.99.1
  • 7da3ee9 Modify hotfix slightly
  • 52b9b2c Fix regression in autodetection of from implementations
  • 0a035d6 Update CHANGELOG
  • 6b3b03f Update CHANGELOG
  • a1d7492 (cargo-release) start next development iteration 0.99.1-alpha.0
  • 9a8d50c (cargo-release) version 0.99.0
  • bd4b2b4 Temporarily add Cargo.lock to git
  • 7465104 Update prerelease version in Cargo.toml
  • 249f587 Update badges
  • 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

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@0.15.0...v0.99.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 13, 2019
@dependabot-preview
Copy link
Contributor Author

Superseded by #31.

@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/derive_more-0.99.1 branch November 18, 2019 01:12
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.

0 participants