Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Nov 4, 2019

Bumps static_assertions from 0.3.3 to 1.1.0.

Release notes

Sourced from static_assertions's releases.

v1.1.0

About

Documentation

Changes

Added

  • assert_impl_any! macro
    • Asserts that the type implements any of the given traits.
  • assert_impl_one! macro
    • Asserts that the type implements exactly one in a set of traits.
  • assert_trait_sub_all! macro
    • Asserts that the trait is a child of all of the other traits.
  • assert_trait_super_all! macro
    • Asserts that the trait is a parent of all of the other traits.
  • Frequently asked questions to README.md

Fixed

  • assert_eq_size_val!, const_assert_eq!, and const_assert_ne! to export
    their local inner macros. Not having this prevented them from working when
    used or called directly via static_assertions::macro!(...)

Removed

  • Unused _assert_obj_safe! from pre-1.0
Changelog

Sourced from static_assertions's changelog.

[1.1.0] - 2019-11-03

Added

  • assert_impl_any! macro
  • assert_impl_one! macro
  • assert_trait_sub_all! macro
  • assert_trait_super_all! macro
  • Frequently asked questions to README.md

Fixed

  • assert_eq_size_val!, const_assert_eq!, and const_assert_ne! to export
    their local inner macros. Not having this prevented them from working when
    used or called directly via static_assertions::macro!(...)

Removed

  • Unused _assert_obj_safe! from pre-1.0

[1.0.0] - 2019-10-02

Added

  • assert_eq_align! macro

Removed

  • [breaking] Labels from macros that needed them 🎉
    • Made possible by [const _] in Rust 1.37
  • [breaking] assert_impl! macro

Fixed

  • assert_fields! now works for enum types with multiple variants

Changed

  • [breaking] const_assert! macro to only take one expression
    • Reasoning: when custom error messages are added in the future (via
      [assert!]), having the macro allow for multiple comma-separated
      expressions may lead to ambiguity
  • [breaking] Trait assertions to use Type: Trait syntax
  • [breaking] Field assertions to use Type: field1, field2 syntax
  • [breaking] Renamed assert_{ne,eq}_type! to assert_type_{ne,eq}_all!

[0.3.4] - 2019-06-12

Changed

  • Aliased assert_impl! to assert_impl_all! and deprecated assert_impl!

Added

  • assert_impl_all! as replacement to assert_impl!
  • assert_not_impl_all! and assert_not_impl_any! macro counterparts to
    assert_impl_all!

Fixed

  • assert_eq_type! now works with types involving lifetimes
Commits

Dependabot compatibility score

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)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 4, 2019
@dependabot-preview dependabot-preview bot force-pushed the dependabot/cargo/static_assertions-1.1.0 branch from 4306352 to 10b5e01 Compare May 30, 2020 13:47
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.

1 participant