1073: Bump serde_with from 1.13.0 to 1.14.0 r=delta1 a=dependabot[bot]

Bumps [serde_with](https://github.com/jonasbb/serde_with) from 1.13.0 to 1.14.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/jonasbb/serde_with/releases">serde_with's releases</a>.</em></p>
<blockquote>
<h2>serde_with v1.14.0</h2>
<h3>Added</h3>
<ul>
<li>
<p>Add support for <code>time</code> crate v0.3 <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/450">#450</a></p>
<p><code>time::Duration</code> can now be serialized with the <code>DurationSeconds</code> and related converters.</p>
<pre lang="rust"><code>// Rust
#[serde_as(as = &quot;serde_with::DurationSeconds&lt;u64&gt;&quot;)]
value: Duration,
<p>// JSON
&quot;value&quot;: 86400,
</code></pre></p>
<p><code>time::OffsetDateTime</code> and <code>time::PrimitiveDateTime</code> can now be serialized with the <code>TimestampSeconds</code> and related converters.</p>
<pre lang="rust"><code>// Rust
#[serde_as(as = &quot;serde_with::TimestampMicroSecondsWithFrac&lt;String&gt;&quot;)]
value: time::PrimitiveDateTime,
<p>// JSON
&quot;value&quot;: &quot;1000000&quot;,
</code></pre></p>
<p><code>time::OffsetDateTime</code> can be serialized in string format in different well-known formats.
Two formats are supported, <code>time::format_description::well_known::Rfc2822</code> and <code>time::format_description::well_known::Rfc3339</code>.</p>
<pre lang="rust"><code>// Rust
#[serde_as(as = &quot;time::format_description::well_known::Rfc2822&quot;)]
rfc_2822: OffsetDateTime,
#[serde_as(as = &quot;Vec&lt;time::format_description::well_known::Rfc3339&gt;&quot;)]
rfc_3339: Vec&lt;OffsetDateTime&gt;,
<p>// JSON
&quot;rfc_2822&quot;: &quot;Fri, 21 Nov 1997 09:55:06 -0600&quot;,
&quot;rfc_3339&quot;: [&quot;1997-11-21T09:55:06-06:00&quot;],
</code></pre></p>
</li>
<li>
<p>Deserialize <code>bool</code> from integers <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/456">#456</a> 462</p>
<p>Deserialize an integer and convert it into a <code>bool</code>.
<code>BoolFromInt&lt;Strict&gt;</code> (default) deserializes 0 to <code>false</code> and <code>1</code> to <code>true</code>, other numbers are errors.
<code>BoolFromInt&lt;Flexible&gt;</code> deserializes any non-zero as <code>true</code>.
Serialization only emits 0/1.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8c59954436"><code>8c59954</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/463">#463</a></li>
<li><a href="8773ac1f5a"><code>8773ac1</code></a> Bump serde_with version to 1.14.0</li>
<li><a href="9351c4c4e7"><code>9351c4c</code></a> Bump rmp-serde version since the MSRV is now suitably high</li>
<li><a href="5e63b1f280"><code>5e63b1f</code></a> Fix doc links to alloc items</li>
<li><a href="d3140e1438"><code>d3140e1</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/462">#462</a></li>
<li><a href="82bd5b860e"><code>82bd5b8</code></a> Add Changelog and guide entry</li>
<li><a href="299a2ba0c9"><code>299a2ba</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/461">#461</a></li>
<li><a href="1e9c5b9303"><code>1e9c5b9</code></a> Bump ossf/scorecard-action from 1.0.4 to 1.1.0</li>
<li><a href="34fbc974bd"><code>34fbc97</code></a> Add BoolFromInt adapter</li>
<li><a href="b3d4156100"><code>b3d4156</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/457">#457</a></li>
<li>Additional commits viewable in <a href="https://github.com/jonasbb/serde_with/compare/v1.13.0...v1.14.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_with&package-manager=cargo&previous-version=1.13.0&new-version=1.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR 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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
pull/1076/head
bors[bot] 2 years ago committed by GitHub
commit cede99a579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
Cargo.lock generated

@ -3593,11 +3593,10 @@ dependencies = [
[[package]]
name = "serde_with"
version = "1.13.0"
version = "1.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b827f2113224f3f19a665136f006709194bdfdcb1fdc1e4b2b5cbac8e0cced54"
checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff"
dependencies = [
"rustversion",
"serde",
"serde_with_macros",
]

Loading…
Cancel
Save