alexanderlinne / chronobreak

Rust mocks for deterministic time testing
Apache License 2.0
7 stars 0 forks source link

Update darling requirement from 0.13 to 0.14 #8

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on darling to permit the latest version.

Release notes

Sourced from darling's releases.

v0.14.0

  • BREAKING CHANGE: Remove many trait impls from util::Flag. This type had a number of deref and operator impls that made it usable as sort-of-a-boolean. Real-world usage showed this type is more useful if it's able to carry a span for good errors, and that most of those impls were unnecessary. #179
  • Remove need for #[darling(default)] on Option<T> and Flag fields #161
  • Improve validation of enum shapes #178
  • Bump proc-macro2 dependency to 1.0.37 #180
  • Bump quote dependency to 1.0.18 #180
  • Bump syn dependency to 1.0.91 #180
Changelog

Sourced from darling's changelog.

v0.14.0 (April 13, 2022)

  • BREAKING CHANGE: Remove many trait impls from util::Flag. This type had a number of deref and operator impls that made it usable as sort-of-a-boolean. Real-world usage showed this type is more useful if it's able to carry a span for good errors, and that most of those impls were unnecessary. #179
  • Remove need for #[darling(default)] on Option<T> and Flag fields #161
  • Improve validation of enum shapes #178
  • Bump proc-macro2 dependency to 1.0.37 #180
  • Bump quote dependency to 1.0.18 #180
  • Bump syn dependency to 1.0.91 #180

v0.13.4 (April 6, 2022)

  • Impl FromMeta for syn::Visibility #173

v0.13.3 (April 5, 2022)

  • Add error::Accumulator for dealing with multiple errors #164
  • Impl FromMeta for syn::Type and its variants #172

v0.13.2 (March 30, 2022)

  • Impl FromMeta for syn::ExprPath #169

v0.13.1 (December 7, 2021)

  • Add FromAttributes trait and macro #151

v0.13.0 (May 20, 2021)

  • Update darling to 2018 edition #129
  • Error on duplicate fields in #[darling(...)] attributes #130
  • Impl Copy for SpannedValue<T: Copy>
  • Add SpannedValue::map_ref

v0.13.0-beta (April 20, 2021)

  • Update darling to 2018 edition #129
  • Error on duplicate fields in #[darling(...)] attributes #130

v0.12.4 (April 20, 2021)

  • Add and_then to derive macros for darling

v0.12.3 (April 8, 2021)

  • Fix FromMeta impl for char not to panic #126

v0.12.2 (February 23, 2021)

... (truncated)

Commits
  • 3f36647 Bump version to 0.14.0
  • 77075f4 Bump min versions of quote, syn, and proc-macro2
  • 3c7d57a Update documentation to capture #161
  • bb12ae2 Add CHANGELOG entry for Flag
  • b8bc277 Improve Flag documentation
  • 956ef2b Add Span to util::Flag, and remove Deref impl
  • 2e29e0e Accept allow_unknown_fields = false
  • 09ecbd6 Move Flag to its own module
  • 445e6bb Improve enum shape validation (#178)
  • a0fb9cc Use from_none in codegen
  • 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[bot] commented 2 years ago

Codecov Report

Merging #8 (8523069) into master (66b101d) will decrease coverage by 0.14%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   86.43%   86.28%   -0.15%     
==========================================
  Files          30       30              
  Lines        1253     1254       +1     
==========================================
- Hits         1083     1082       -1     
- Misses        170      172       +2     
Impacted Files Coverage Δ
core/lib/src/mock.rs 90.90% <0.00%> (-9.10%) :arrow_down:
mocks/futures_timer/src/lib.rs 78.94% <0.00%> (-5.27%) :arrow_down:
core/codegen/src/constants_fn.rs 88.23% <0.00%> (-0.66%) :arrow_down:
core/globals/src/shared_clock.rs 79.66% <0.00%> (-0.18%) :arrow_down:
mocks/std/src/sync.rs 91.75% <0.00%> (-0.09%) :arrow_down:
core/codegen/src/chronobreak_attr.rs 93.87% <0.00%> (+0.12%) :arrow_up:
mocks/std/src/time.rs 60.00% <0.00%> (+0.14%) :arrow_up:
core/codegen/src/test_attr.rs 95.83% <0.00%> (+0.18%) :arrow_up:
core/codegen/src/apply_fn.rs 92.18% <0.00%> (+1.41%) :arrow_up:

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 66b101d...8523069. Read the comment docs.