Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Commit 2cc4e71

Browse files
Merge #711
711: Bump serde_json from 1.0.53 to 1.0.55 r=mergify[bot] a=dependabot-preview[bot] Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.53 to 1.0.55. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p> <blockquote> <h2>v1.0.55</h2> <ul> <li>Fix missing build script required for using <code>float_roundtrip</code> (<a href="https://github.com/serde-rs/json/releases/tag/v1.0.54">https://github.com/serde-rs/json/releases/tag/v1.0.54</a>)</li> </ul> <h2>v1.0.54</h2> <ul> <li> <p>Add <a href="https://github.com/serde-rs/json/blob/v1.0.54/Cargo.toml#L58-L65"><code>float_roundtrip</code></a> feature to enable a slower but higher precision float parser based on <a href="https://github.com/Alexhuszagh/rust-lexical">lexical</a>.</p> <p>Enabling <code>float_roundtrip</code> will use sufficient precision when parsing fixed precision floats from JSON to ensure that they maintain accuracy when round-tripped through JSON. This comes at an approximately 2x performance cost for parsing floats compared to the default best-effort precision.</p> <p>Unlike <code>arbitrary_precision</code>, the new <code>float_roundtrip</code> feature makes f64 -&gt; JSON -&gt; f64 produce output identical to the input. <code>arbitrary_precision</code> is for making JSON -&gt; serde_json::Number -&gt; JSON produce output identical to the input.</p> <pre lang="toml"><code>serde_json = { version = &quot;1.0.54&quot;, features = [&quot;float_roundtrip&quot;] } </code></pre> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/serde-rs/json/commit/3aae67892485dc258a2335b829baddb77b29aa9d"><code>3aae678</code></a> Release 1.0.55</li> <li><a href="https://github.com/serde-rs/json/commit/60b64350af7a9e9e6e2c290624110ee814a8f091"><code>60b6435</code></a> Publish with build.rs</li> <li><a href="https://github.com/serde-rs/json/commit/ee233ac67a0baf255f43f5861ab6221e3a33674f"><code>ee233ac</code></a> No need to specify Cargo.toml in package.include</li> <li><a href="https://github.com/serde-rs/json/commit/310c55cf6d9b7cd4fb6f71f398ea896f5f3c9e82"><code>310c55c</code></a> Release 1.0.54</li> <li><a href="https://github.com/serde-rs/json/commit/3d8b046d0247da886a60de0d1b1aa8ba1524cfe5"><code>3d8b046</code></a> Exclude single_precision flag unless needed</li> <li><a href="https://github.com/serde-rs/json/commit/2e8a58bbff117adb023cbc3340ca765536216e59"><code>2e8a58b</code></a> Exclude lexical code when built without float_roundtrip</li> <li><a href="https://github.com/serde-rs/json/commit/07bbec9508059aa7c9ca04803620b9580f65fe39"><code>07bbec9</code></a> Extend CI with more feature combinations</li> <li><a href="https://github.com/serde-rs/json/commit/43598d82f4c851ceb36a2441cb5e6f44b453c252"><code>43598d8</code></a> Gate some tests behind float_roundtrip feature</li> <li><a href="https://github.com/serde-rs/json/commit/9e7680a5c2f4cdb95ede6c142f5477822b50b1e8"><code>9e7680a</code></a> Wire up non-float_roundtrip parsing in long number case</li> <li><a href="https://github.com/serde-rs/json/commit/b8d4153cc00c95574e598810e30fac6f2a683fe8"><code>b8d4153</code></a> Restore best-effort float parse codepath</li> <li>Additional commits viewable in <a href="https://github.com/serde-rs/json/compare/v1.0.53...v1.0.55">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=serde_json&package-manager=cargo&previous-version=1.0.53&new-version=1.0.55)](https://dependabot.com/compatibility-score/?dependency-name=serde_json&package-manager=cargo&previous-version=1.0.53&new-version=1.0.55) 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 badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in the `.dependabot/config.yml` file in this repo: - Update frequency - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </details> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2 parents badf362 + aefdbe8 commit 2cc4e71

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)