brndnmtthws / dryoc

Don't Roll Your Own Crypto: pure-Rust, hard to misuse cryptography library
https://docs.rs/dryoc
MIT License
267 stars 14 forks source link

Update static_assertions requirement from 0.1 to 1.1 #15

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on static_assertions to permit the latest version.

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

[0.3.3] - 2019-06-12

... (truncated)

Commits


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 1 year ago

Codecov Report

Merging #15 (c566d2e) into main (22a97d7) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #15   +/-   ##
=======================================
  Coverage   72.52%   72.52%           
=======================================
  Files          42       42           
  Lines        2853     2853           
=======================================
  Hits         2069     2069           
  Misses        784      784           

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