Support deserializing flattened adjacently tagged enums from data formats which represent fields as bytes, such as the csv crate (#2377, thanks @mfro)
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/421
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 5/8/2023
**Status:** ✅ Merged
**Merged:** 5/8/2023
**Merged by:** [@LGUG2Z](https://github.com/LGUG2Z)
**Base:** `master` ← **Head:** `dependabot/cargo/serde-1.0.162`
---
### 📝 Commits (1)
- [`16b1a69`](https://github.com/LGUG2Z/komorebi/commit/16b1a6933c3014d7cc4acee3e4823befbac867ea) chore(deps): bump serde from 1.0.160 to 1.0.162
### 📊 Changes
**1 file changed** (+4 additions, -4 deletions)
<details>
<summary>View changed files</summary>
📝 `Cargo.lock` (+4 -4)
</details>
### 📄 Description
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.160 to 1.0.162.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p>
<blockquote>
<h2>1.0.162</h2>
<ul>
<li>
<p>Support deserializing flattened adjacently tagged enums from data formats which represent fields as bytes, such as the <code>csv</code> crate (<a href="https://redirect.github.com/serde-rs/serde/issues/2377">#2377</a>, thanks <a href="https://github.com/mfro"><code>@mfro</code></a>)</p>
<pre lang="rust"><code>#[derive(Deserialize)]
pub struct Record {
common: u64,
#[serde(flatten)]
kind: Kind,
}
<p>#[derive(Deserialize)]
#[serde(tag = "kind", content = "parameter", rename_all = "lowercase")]
enum Kind {
Foo(u64),
Bar(bool),
}
</code></pre></p>
<pre lang="csv"><code>common,kind,parameter
1,foo,42
2,bar,true
</code></pre>
</li>
</ul>
<h2>v1.0.161</h2>
<ul>
<li>Improve error messages produced by serde_test on test failure (<a href="https://redirect.github.com/serde-rs/serde/issues/2435">#2435</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/serde-rs/serde/commit/99f165b45abc05b6104c4eb0dcbc7a2e2c3d821a"><code>99f165b</code></a> Release 1.0.162</li>
<li><a href="https://github.com/serde-rs/serde/commit/2fb556074625fc3c97d8fabe026936c0c04e5b6e"><code>2fb5560</code></a> Attempt to generate just one copy of TagContentOtherFieldVisitor's field matc...</li>
<li><a href="https://github.com/serde-rs/serde/commit/bd653ab30cca7c362660a1f6bb069b7b2a891115"><code>bd653ab</code></a> Format PR 2377 with rustfmt</li>
<li><a href="https://github.com/serde-rs/serde/commit/b5d68aedaa85edea926c882df6d3cb9346de9d98"><code>b5d68ae</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2377">#2377</a> from mfro/master</li>
<li><a href="https://github.com/serde-rs/serde/commit/624879c4c690217101adc9e10fd9ecc5d9ee9708"><code>624879c</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2441">#2441</a> from dtolnay/test</li>
<li><a href="https://github.com/serde-rs/serde/commit/bd9e9abf352f8cc31cf69309455aa970ab04275a"><code>bd9e9ab</code></a> Reimplement tests that touched serde_test internal API</li>
<li><a href="https://github.com/serde-rs/serde/commit/3e4a23cbd064f983e0029404e69b1210d232f94f"><code>3e4a23c</code></a> Release 1.0.161</li>
<li><a href="https://github.com/serde-rs/serde/commit/6326ceec3f18fc030f19f5300df18f2a8265df3d"><code>6326cee</code></a> Don't panic in serde_test on running out of tokens</li>
<li><a href="https://github.com/serde-rs/serde/commit/8f4d37c7ec696ec5a04202ab14e14b292cc7c8b1"><code>8f4d37c</code></a> Convert serde_test's assert_next_token from macro to function</li>
<li><a href="https://github.com/serde-rs/serde/commit/1b8290b3185e0ffff0769cbca2abe695aafed153"><code>1b8290b</code></a> Convert serde_test's unexpected from macro to function</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.160...1.0.162">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/421
Author: @dependabot[bot]
Created: 5/8/2023
Status: ✅ Merged
Merged: 5/8/2023
Merged by: @LGUG2Z
Base:
master← Head:dependabot/cargo/serde-1.0.162📝 Commits (1)
16b1a69chore(deps): bump serde from 1.0.160 to 1.0.162📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
Cargo.lock(+4 -4)📄 Description
Bumps serde from 1.0.160 to 1.0.162.
Release notes
Sourced from serde's releases.
Commits
99f165bRelease 1.0.1622fb5560Attempt to generate just one copy of TagContentOtherFieldVisitor's field matc...bd653abFormat PR 2377 with rustfmtb5d68aeMerge pull request #2377 from mfro/master624879cMerge pull request #2441 from dtolnay/testbd9e9abReimplement tests that touched serde_test internal API3e4a23cRelease 1.0.1616326ceeDon't panic in serde_test on running out of tokens8f4d37cConvert serde_test's assert_next_token from macro to function1b8290bConvert serde_test's unexpected from macro to functionDependabot 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.