tauri-apps / global-hotkey

Global hotkeys for Desktop Applications.
Apache License 2.0
157 stars 18 forks source link

fix(deps): update rust crate bitflags to 2.5.0 - autoclosed #84

Closed renovate[bot] closed 6 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
bitflags dependencies minor 2 -> 2.5.0

Release Notes

bitflags/bitflags (bitflags) ### [`v2.5.0`](https://togithub.com/bitflags/bitflags/blob/HEAD/CHANGELOG.md#250) [Compare Source](https://togithub.com/bitflags/bitflags/compare/2.4.2...2.5.0) #### What's Changed - Derive `Debug` for `Flag` by [@​tgross35](https://togithub.com/tgross35) in [https://github.com/bitflags/bitflags/pull/398](https://togithub.com/bitflags/bitflags/pull/398) - Support truncating or strict-named variants of parsing and formatting by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/400](https://togithub.com/bitflags/bitflags/pull/400) #### New Contributors - [@​tgross35](https://togithub.com/tgross35) made their first contribution in [https://github.com/bitflags/bitflags/pull/398](https://togithub.com/bitflags/bitflags/pull/398) **Full Changelog**: https://github.com/bitflags/bitflags/compare/2.4.2...2.5.0 ### [`v2.4.2`](https://togithub.com/bitflags/bitflags/blob/HEAD/CHANGELOG.md#242) [Compare Source](https://togithub.com/bitflags/bitflags/compare/2.4.1...2.4.2) #### What's Changed - Cargo.toml: Anchor excludes to root of the package by [@​jamessan](https://togithub.com/jamessan) in [https://github.com/bitflags/bitflags/pull/387](https://togithub.com/bitflags/bitflags/pull/387) - Update error messages by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/390](https://togithub.com/bitflags/bitflags/pull/390) - Add support for impl mode structs to be repr(packed) by [@​GnomedDev](https://togithub.com/GnomedDev) in [https://github.com/bitflags/bitflags/pull/388](https://togithub.com/bitflags/bitflags/pull/388) - Remove old `unused_tuple_struct_fields` lint by [@​dtolnay](https://togithub.com/dtolnay) in [https://github.com/bitflags/bitflags/pull/393](https://togithub.com/bitflags/bitflags/pull/393) - Delete use of `local_inner_macros` by [@​dtolnay](https://togithub.com/dtolnay) in [https://github.com/bitflags/bitflags/pull/392](https://togithub.com/bitflags/bitflags/pull/392) #### New Contributors - [@​jamessan](https://togithub.com/jamessan) made their first contribution in [https://github.com/bitflags/bitflags/pull/387](https://togithub.com/bitflags/bitflags/pull/387) - [@​GnomedDev](https://togithub.com/GnomedDev) made their first contribution in [https://github.com/bitflags/bitflags/pull/388](https://togithub.com/bitflags/bitflags/pull/388) **Full Changelog**: https://github.com/bitflags/bitflags/compare/2.4.1...2.4.2 ### [`v2.4.1`](https://togithub.com/bitflags/bitflags/blob/HEAD/CHANGELOG.md#241) [Compare Source](https://togithub.com/bitflags/bitflags/compare/2.4.0...2.4.1) #### What's Changed - Allow some new pedantic clippy lints by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/380](https://togithub.com/bitflags/bitflags/pull/380) **Full Changelog**: https://github.com/bitflags/bitflags/compare/2.4.0...2.4.1 ### [`v2.4.0`](https://togithub.com/bitflags/bitflags/blob/HEAD/CHANGELOG.md#240) [Compare Source](https://togithub.com/bitflags/bitflags/compare/2.3.3...2.4.0) #### What's Changed - Remove html_root_url by [@​eldruin](https://togithub.com/eldruin) in [https://github.com/bitflags/bitflags/pull/368](https://togithub.com/bitflags/bitflags/pull/368) - Support unnamed flags by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/371](https://togithub.com/bitflags/bitflags/pull/371) - Update smoke test to verify all Clippy and rustc lints by [@​MitMaro](https://togithub.com/MitMaro) in [https://github.com/bitflags/bitflags/pull/374](https://togithub.com/bitflags/bitflags/pull/374) - Specify the behavior of bitflags by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/369](https://togithub.com/bitflags/bitflags/pull/369) #### New Contributors - [@​eldruin](https://togithub.com/eldruin) made their first contribution in [https://github.com/bitflags/bitflags/pull/368](https://togithub.com/bitflags/bitflags/pull/368) - [@​MitMaro](https://togithub.com/MitMaro) made their first contribution in [https://github.com/bitflags/bitflags/pull/374](https://togithub.com/bitflags/bitflags/pull/374) **Full Changelog**: https://github.com/bitflags/bitflags/compare/2.3.3...2.4.0 ### [`v2.3.3`](https://togithub.com/bitflags/bitflags/blob/HEAD/CHANGELOG.md#233) [Compare Source](https://togithub.com/bitflags/bitflags/compare/2.3.2...2.3.3) #### Changes to `-=` The `-=` operator was incorrectly changed to truncate bits that didn't correspond to valid flags in `2.3.0`. This has been fixed up so it once again behaves the same as `-` and `difference`. #### Changes to `!` The `!` operator previously called `Self::from_bits_truncate`, which would truncate any bits that only partially overlapped with a valid flag. It will now use `bits & Self::all().bits()`, so any bits that overlap any bits specified by any flag will be respected. This is unlikely to have any practical implications, but enables defining a flag like `const ALL = !0` as a way to signal that any bit pattern is a known set of flags. #### Changes to formatting Zero-valued flags will never be printed. You'll either get `0x0` for empty flags using debug formatting, or the set of flags with zero-valued flags omitted for others. Composite flags will no longer be redundantly printed if there are extra bits to print at the end that don't correspond to a valid flag. #### What's Changed - Fix up incorrect sub assign behavior and other cleanups by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/366](https://togithub.com/bitflags/bitflags/pull/366) **Full Changelog**: https://github.com/bitflags/bitflags/compare/2.3.2...2.3.3 ### [`v2.3.2`](https://togithub.com/bitflags/bitflags/blob/HEAD/CHANGELOG.md#232) [Compare Source](https://togithub.com/bitflags/bitflags/compare/2.3.1...2.3.2) #### What's Changed - \[doc] \[src/lib.rs] delete redundant path prefix by [@​OccupyMars2025](https://togithub.com/OccupyMars2025) in [https://github.com/bitflags/bitflags/pull/361](https://togithub.com/bitflags/bitflags/pull/361) #### New Contributors - [@​OccupyMars2025](https://togithub.com/OccupyMars2025) made their first contribution in [https://github.com/bitflags/bitflags/pull/361](https://togithub.com/bitflags/bitflags/pull/361) **Full Changelog**: https://github.com/bitflags/bitflags/compare/2.3.1...2.3.2 ### [`v2.3.1`](https://togithub.com/bitflags/bitflags/blob/HEAD/CHANGELOG.md#231) [Compare Source](https://togithub.com/bitflags/bitflags/compare/2.3.0...2.3.1) #### What's Changed - Fix Self in flags value expressions by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/355](https://togithub.com/bitflags/bitflags/pull/355) **Full Changelog**: https://github.com/bitflags/bitflags/compare/2.3.0...2.3.1 ### [`v2.3.0`](https://togithub.com/bitflags/bitflags/blob/HEAD/CHANGELOG.md#230) [Compare Source](https://togithub.com/bitflags/bitflags/compare/2.2.1...2.3.0) #### Major changes ##### `BitFlags` trait deprecated in favor of `Flags` trait This release introduces the `Flags` trait and deprecates the `BitFlags` trait. These two traits are semver compatible so if you have public API code depending on `BitFlags` you can move to `Flags` without breaking end-users. This is possible because the `BitFlags` trait was never publicly implementable, so it now carries `Flags` as a supertrait. All implementations of `Flags` additionally implement `BitFlags`. The `Flags` trait is a publicly implementable version of the old `BitFlags` trait. The original `BitFlags` trait carried some macro baggage that made it difficult to implement, so a new `Flags` trait has been introduced as the *One True Trait* for interacting with flags types generically. See the the `macro_free` and `custom_derive` examples for more details. ##### `Bits` trait publicly exposed The `Bits` trait for the underlying storage of flags values is also now publicly implementable. This lets you define your own exotic backing storage for flags. See the `custom_bits_type` example for more details. #### What's Changed - Use explicit hashes for actions steps by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/350](https://togithub.com/bitflags/bitflags/pull/350) - Support ejecting flags types from the bitflags macro by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/351](https://togithub.com/bitflags/bitflags/pull/351) **Full Changelog**: https://github.com/bitflags/bitflags/compare/2.2.1...2.3.0 ### [`v2.2.1`](https://togithub.com/bitflags/bitflags/blob/HEAD/CHANGELOG.md#221) [Compare Source](https://togithub.com/bitflags/bitflags/compare/2.2.0...2.2.1) #### What's Changed - Refactor attribute filtering to apply per-flag by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/345](https://togithub.com/bitflags/bitflags/pull/345) **Full Changelog**: https://github.com/bitflags/bitflags/compare/2.2.0...2.2.1 ### [`v2.2.0`](https://togithub.com/bitflags/bitflags/blob/HEAD/CHANGELOG.md#220) [Compare Source](https://togithub.com/bitflags/bitflags/compare/2.1.0...2.2.0) #### What's Changed - Create SECURITY.md by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/338](https://togithub.com/bitflags/bitflags/pull/338) - add docs to describe the behavior of multi-bit flags by [@​nicholasbishop](https://togithub.com/nicholasbishop) in [https://github.com/bitflags/bitflags/pull/340](https://togithub.com/bitflags/bitflags/pull/340) - Add support for bytemuck by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/336](https://togithub.com/bitflags/bitflags/pull/336) - Add a top-level macro for filtering attributes by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/341](https://togithub.com/bitflags/bitflags/pull/341) #### New Contributors - [@​nicholasbishop](https://togithub.com/nicholasbishop) made their first contribution in [https://github.com/bitflags/bitflags/pull/340](https://togithub.com/bitflags/bitflags/pull/340) **Full Changelog**: https://github.com/bitflags/bitflags/compare/2.1.0...2.2.0 ### [`v2.1.0`](https://togithub.com/bitflags/bitflags/blob/HEAD/CHANGELOG.md#210) [Compare Source](https://togithub.com/bitflags/bitflags/compare/2.0.2...2.1.0) #### What's Changed - Add docs for the internal Field0 and examples of formatting/parsing by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/328](https://togithub.com/bitflags/bitflags/pull/328) - Add support for arbitrary by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/324](https://togithub.com/bitflags/bitflags/pull/324) - Fix up missing docs for consts within consts by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/330](https://togithub.com/bitflags/bitflags/pull/330) - Ignore clippy lint in generated code by [@​Jake-Shadle](https://togithub.com/Jake-Shadle) in [https://github.com/bitflags/bitflags/pull/331](https://togithub.com/bitflags/bitflags/pull/331) #### New Contributors - [@​Jake-Shadle](https://togithub.com/Jake-Shadle) made their first contribution in [https://github.com/bitflags/bitflags/pull/331](https://togithub.com/bitflags/bitflags/pull/331) **Full Changelog**: https://github.com/bitflags/bitflags/compare/2.0.2...2.1.0 ### [`v2.0.2`](https://togithub.com/bitflags/bitflags/blob/HEAD/CHANGELOG.md#202) [Compare Source](https://togithub.com/bitflags/bitflags/compare/2.0.1...2.0.2) #### What's Changed - Fix up missing isize and usize Bits impls by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/321](https://togithub.com/bitflags/bitflags/pull/321) **Full Changelog**: https://github.com/bitflags/bitflags/compare/2.0.1...2.0.2 ### [`v2.0.1`](https://togithub.com/bitflags/bitflags/blob/HEAD/CHANGELOG.md#201) [Compare Source](https://togithub.com/bitflags/bitflags/compare/2.0.0...2.0.1) #### What's Changed - Fix up some docs issues by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/309](https://togithub.com/bitflags/bitflags/pull/309) - Make empty_flag() const. by [@​tormeh](https://togithub.com/tormeh) in [https://github.com/bitflags/bitflags/pull/313](https://togithub.com/bitflags/bitflags/pull/313) - Fix formatting of multi-bit flags with partial overlap by [@​KodrAus](https://togithub.com/KodrAus) in [https://github.com/bitflags/bitflags/pull/316](https://togithub.com/bitflags/bitflags/pull/316) #### New Contributors - [@​tormeh](https://togithub.com/tormeh) made their first contribution in [https://github.com/bitflags/bitflags/pull/313](https://togithub.com/bitflags/bitflags/pull/313) **Full Changelog**: https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1

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.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.