fix(deps): update rust crate derive_more to v2#59
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #59 +/- ##
=======================================
Coverage 48.77% 48.77%
=======================================
Files 16 16
Lines 2005 2005
=======================================
Hits 978 978
Misses 1027 1027 ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0→2.0Release Notes
JelteF/derive_more (derive_more)
v2.1.1Compare Source
Fixed
.as_dyn_error()method hygiene insideErrorderive expansion.(#527)
v2.1.0Compare Source
Added
#[display(rename_all = "<casing>")]attribute to change output forimplicit naming of unit enum variants or unit structs when deriving
Display.(#443)
#[from_str(rename_all = "<casing>")]attribute for unit enum variantsand unit structs when deriving
FromStr.(#467)
Optionfields forError::source()inErrorderive.(#459)
FromStrderive.(#469)
PartialEqderive similar tostd's one, but considering generics correctly,and implementing
ne()method as well.(#473,
#475)
Eqderive similar tostd's one, but considering generics correctly.(#479)
#[allow]/#[expect]attributes of the type inConstructorderive.(#477)
DerefandDerefMutderives for enums.(#485)
FromStrderive.(#494)
TryIntoderive.(#503)
Add-like,AddAssign-like,Mul-like andMulAssign-like derives.(#472)
Changed
(#466)
Add-like,AddAssign-like,Mul-like andMulAssign-like derives nowinfer trait bounds for generics structurally (bound field types instead of
type parameters directly).
(#472)
Fixed
(#454)
#[try_from(repr)]attribute is not specified forTryFromderive.(#458)
AsRef/AsMutderives when associative types are involved.(#474)
Try/TryIntoderives whenSelftype is present inthe struct or enum definition.
(#489)
feature(error_generic_member_access)inErrorderive whenusing
Backtraceon a non-nightly toolchain.(#513)
#[<display-trait>("default formatting")]attribute without{_variant}being used as default for enum variants without explicit formatting.
(#495)
v2.0.1Compare Source
Added
Playground will have all
derive_morefeatures available onceselectorscrate updates itsderive_moreversion.(#445)
v2.0.0Compare Source
Breaking changes
use derive_more::SomeTraitnow imports macro only. Importing macro withits trait along is possible now via
use derive_more::with_trait::SomeTrait.(#406)
#[display("...")]attribute on an enum now has defaulting behaviorinstead of replacing when no wrapping is possible (no
_variantplaceholder).(#395)
Fixed
Debugand
Displayexpansions.(#399)
unreachable_codewarnings on generated code when!(never type) is used.(#404)
TryFrom,TryIntoorFromStrwith an associated item called
ErrororErrrespectively.(#410)
#[display("...")]attribute on an enum being incorrectly treatedas transparent or wrapping.
(#395)
DebugandDisplayexpansions.(#431)
Debugexpansions.(#431)
#[display("...")]attribute on an enum not working transparentlyfor directly specified fields.
(#438)
DebugandDisplayexpansions.(#440)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.