This release includes some major changes over 1.x. If you use bitflags! types in your public API then upgrading this library may cause breakage in your downstream users.
⚠️ Serialization
You'll need to add the serde Cargo feature in order to #[derive(Serialize, Deserialize)] on your generated flags types:
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)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/LGUG2Z/komorebi/pull/402
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 4/17/2023
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `dependabot/cargo/bitflags-2.1.0`
---
### 📝 Commits (1)
- [`e3dddfd`](https://github.com/LGUG2Z/komorebi/commit/e3dddfd60e613b20c8057909c8a911b5d17484f9) chore(deps): bump bitflags from 1.3.2 to 2.1.0
### 📊 Changes
**2 files changed** (+17 additions, -11 deletions)
<details>
<summary>View changed files</summary>
📝 `Cargo.lock` (+16 -10)
📝 `komorebi/Cargo.toml` (+1 -1)
</details>
### 📄 Description
Bumps [bitflags](https://github.com/bitflags/bitflags) from 1.3.2 to 2.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/bitflags/bitflags/releases">bitflags's releases</a>.</em></p>
<blockquote>
<h2>2.1.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Add docs for the internal Field0 and examples of formatting/parsing by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/328">bitflags/bitflags#328</a></li>
<li>Add support for arbitrary by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/324">bitflags/bitflags#324</a></li>
<li>Fix up missing docs for consts within consts by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/330">bitflags/bitflags#330</a></li>
<li>Ignore clippy lint in generated code by <a href="https://github.com/Jake-Shadle"><code>@Jake-Shadle</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/331">bitflags/bitflags#331</a></li>
<li>Prepare for 2.1.0 release by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/334">bitflags/bitflags#334</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Jake-Shadle"><code>@Jake-Shadle</code></a> made their first contribution in <a href="https://redirect.github.com/bitflags/bitflags/pull/331">bitflags/bitflags#331</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.2...2.1.0">https://github.com/bitflags/bitflags/compare/2.0.2...2.1.0</a></p>
<h2>2.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix up missing isize and usize Bits impls by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/321">bitflags/bitflags#321</a></li>
<li>Prepare for 2.0.2 release by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/322">bitflags/bitflags#322</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.1...2.0.2">https://github.com/bitflags/bitflags/compare/2.0.1...2.0.2</a></p>
<h2>2.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix up some docs issues by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/309">bitflags/bitflags#309</a></li>
<li>Make empty_flag() const. by <a href="https://github.com/tormeh"><code>@tormeh</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/313">bitflags/bitflags#313</a></li>
<li>Fix formatting of multi-bit flags with partial overlap by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/316">bitflags/bitflags#316</a></li>
<li>Prepare for 2.0.1 release by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/317">bitflags/bitflags#317</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tormeh"><code>@tormeh</code></a> made their first contribution in <a href="https://redirect.github.com/bitflags/bitflags/pull/313">bitflags/bitflags#313</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1">https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1</a></p>
<h2>2.0.0</h2>
<h2>Major changes</h2>
<p>This release includes some major changes over <code>1.x</code>. If you use <code>bitflags!</code> types in your public API then upgrading this library may cause breakage in your downstream users.</p>
<h3>⚠️ Serialization</h3>
<p>You'll need to add the <code>serde</code> Cargo feature in order to <code>#[derive(Serialize, Deserialize)]</code> on your generated flags types:</p>
<pre lang="rust"><code>bitflags! {
#[derive(Serialize, Deserialize)]
#[serde(transparent)]
pub struct Flags: T {
..
}
}
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md">bitflags's changelog</a>.</em></p>
<blockquote>
<h1>2.1.0</h1>
<h2>What's Changed</h2>
<ul>
<li>Add docs for the internal Field0 and examples of formatting/parsing by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/328">bitflags/bitflags#328</a></li>
<li>Add support for arbitrary by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/324">bitflags/bitflags#324</a></li>
<li>Fix up missing docs for consts within consts by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/330">bitflags/bitflags#330</a></li>
<li>Ignore clippy lint in generated code by <a href="https://github.com/Jake-Shadle"><code>@Jake-Shadle</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/331">bitflags/bitflags#331</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Jake-Shadle"><code>@Jake-Shadle</code></a> made their first contribution in <a href="https://redirect.github.com/bitflags/bitflags/pull/331">bitflags/bitflags#331</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.2...2.1.0">https://github.com/bitflags/bitflags/compare/2.0.2...2.1.0</a></p>
<h1>2.0.2</h1>
<h2>What's Changed</h2>
<ul>
<li>Fix up missing isize and usize Bits impls by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/321">bitflags/bitflags#321</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.1...2.0.2">https://github.com/bitflags/bitflags/compare/2.0.1...2.0.2</a></p>
<h1>2.0.1</h1>
<h2>What's Changed</h2>
<ul>
<li>Fix up some docs issues by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/309">bitflags/bitflags#309</a></li>
<li>Make empty_flag() const. by <a href="https://github.com/tormeh"><code>@tormeh</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/313">bitflags/bitflags#313</a></li>
<li>Fix formatting of multi-bit flags with partial overlap by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/316">bitflags/bitflags#316</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tormeh"><code>@tormeh</code></a> made their first contribution in <a href="https://redirect.github.com/bitflags/bitflags/pull/313">bitflags/bitflags#313</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1">https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1</a></p>
<h1>2.0.0</h1>
<h2>What's Changed</h2>
<ul>
<li>Fix a typo and call out MSRV bump by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/259">bitflags/bitflags#259</a></li>
<li>BitFlags trait by <a href="https://github.com/arturoc"><code>@arturoc</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/220">bitflags/bitflags#220</a></li>
<li>Add a hidden trait to discourage manual impls of BitFlags by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/261">bitflags/bitflags#261</a></li>
<li>Sanitize <code>Ok</code> by <a href="https://github.com/konsumlamm"><code>@konsumlamm</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/266">bitflags/bitflags#266</a></li>
<li>Fix bug in <code>Debug</code> implementation by <a href="https://github.com/konsumlamm"><code>@konsumlamm</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/268">bitflags/bitflags#268</a></li>
<li>Fix a typo in the generated documentation by <a href="https://github.com/wackbyte"><code>@wackbyte</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/271">bitflags/bitflags#271</a></li>
<li>Use SPDX license format by <a href="https://github.com/atouchet"><code>@atouchet</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/272">bitflags/bitflags#272</a></li>
<li>serde tests fail in CI by <a href="https://github.com/arturoc"><code>@arturoc</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/277">bitflags/bitflags#277</a></li>
<li>Fix beta test output by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/279">bitflags/bitflags#279</a></li>
<li>Add example to the README.md file by <a href="https://github.com/tiaanl"><code>@tiaanl</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/270">bitflags/bitflags#270</a></li>
<li>Iterator over all the enabled options by <a href="https://github.com/arturoc"><code>@arturoc</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/278">bitflags/bitflags#278</a></li>
<li>from_bits_(truncate) fail with composite flags by <a href="https://github.com/arturoc"><code>@arturoc</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/276">bitflags/bitflags#276</a></li>
<li>Add more platform coverage to CI by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/280">bitflags/bitflags#280</a></li>
<li>rework the way cfgs are handled by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/281">bitflags/bitflags#281</a></li>
<li>Split generated code into two types by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/282">bitflags/bitflags#282</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/bitflags/bitflags/commit/597d40749224d3eee125a6ea9d6ac4c92b898ee8"><code>597d407</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/334">#334</a> from KodrAus/cargo/2.1.0</li>
<li><a href="https://github.com/bitflags/bitflags/commit/c272a0fd0adb7ecc6daa580c801e5c559159abc6"><code>c272a0f</code></a> prepare for 2.1.0 release</li>
<li><a href="https://github.com/bitflags/bitflags/commit/db4ce3649fc7ecf1111401a259ffc35c969bcdb4"><code>db4ce36</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/331">#331</a> from EmbarkStudios/main</li>
<li><a href="https://github.com/bitflags/bitflags/commit/8ce007292c18d3449b8a039aaa88d3fbf567605d"><code>8ce0072</code></a> Ignore clippy lint</li>
<li><a href="https://github.com/bitflags/bitflags/commit/038f6e841cb52de17da6063ebec6fc9c7d4253a2"><code>038f6e8</code></a> Add missing Formatter lifetimes</li>
<li><a href="https://github.com/bitflags/bitflags/commit/98b85d5c450381a7a86a911b860ea5ae7e2d8e76"><code>98b85d5</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/330">#330</a> from KodrAus/fix/missing-docs</li>
<li><a href="https://github.com/bitflags/bitflags/commit/7eb912a5aac4344ee25c6ff56e542357848410d0"><code>7eb912a</code></a> fix up missing docs for consts within consts</li>
<li><a href="https://github.com/bitflags/bitflags/commit/83359a69134c974da79b8f2a39bda8b19e93405e"><code>83359a6</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/324">#324</a> from KodrAus/feat/arbitrary</li>
<li><a href="https://github.com/bitflags/bitflags/commit/ddc975b9761eebd5d29ab0d82c10e6ee76450f8f"><code>ddc975b</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/328">#328</a> from KodrAus/chore/docs</li>
<li><a href="https://github.com/bitflags/bitflags/commit/a963083e5ec6a748c5f4358afaf5043dadf52084"><code>a963083</code></a> update wording of parsing/formatting example</li>
<li>Additional commits viewable in <a href="https://github.com/bitflags/bitflags/compare/1.3.2...2.1.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
</details>
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/402
Author: @dependabot[bot]
Created: 4/17/2023
Status: ❌ Closed
Base:
master← Head:dependabot/cargo/bitflags-2.1.0📝 Commits (1)
e3dddfdchore(deps): bump bitflags from 1.3.2 to 2.1.0📊 Changes
2 files changed (+17 additions, -11 deletions)
View changed files
📝
Cargo.lock(+16 -10)📝
komorebi/Cargo.toml(+1 -1)📄 Description
Bumps bitflags from 1.3.2 to 2.1.0.
Release notes
Sourced from bitflags's releases.
... (truncated)
Changelog
Sourced from bitflags's changelog.
... (truncated)
Commits
597d407Merge pull request #334 from KodrAus/cargo/2.1.0c272a0fprepare for 2.1.0 releasedb4ce36Merge pull request #331 from EmbarkStudios/main8ce0072Ignore clippy lint038f6e8Add missing Formatter lifetimes98b85d5Merge pull request #330 from KodrAus/fix/missing-docs7eb912afix up missing docs for consts within consts83359a6Merge pull request #324 from KodrAus/feat/arbitraryddc975bMerge pull request #328 from KodrAus/chore/docsa963083update wording of parsing/formatting exampleDependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.