-
-
Notifications
You must be signed in to change notification settings - Fork 773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide list of recognized rename rules on parse error #1961
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
str::escape_debug wasn't stabilized until 1.34, whereas serde_derive currently supports an oldest version of 1.31.
dtolnay
commented
Jan 23, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI failure appears unrelated.
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v2'
Warning: Failed to download action 'https://api.github.com/repos/actions/checkout/zipball/5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f'. Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Warning: Back off 20.462 seconds before retry.
Warning: Failed to download action 'https://api.github.com/repos/actions/checkout/zipball/5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f'. Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Warning: Back off 28.94 seconds before retry.
Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
This was referenced Mar 8, 2021
This was referenced Mar 15, 2021
bors bot
referenced
this pull request
in comit-network/xmr-btc-swap
Mar 17, 2021
327: Bump actions/setup-python from v1 to v2.2.1 r=thomaseizinger a=dependabot[bot] Bumps [actions/setup-python](https://github.com/actions/setup-python) from v1 to v2.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-python/releases">actions/setup-python's releases</a>.</em></p> <blockquote> <h2>v2.2.1</h2> <ul> <li>Fix PyPy3 issues with Windows</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-python/commit/3105fb18c05ddd93efea5f9e0bef7a03a6e9e7df"><code>3105fb1</code></a> fix is_windows (<a href="https://github.com/actions/setup-python/issues/172">#172</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/8c5ea631b2b2d5d8840cf4a2b183a8a0edc1e40d"><code>8c5ea63</code></a> Adding support for more PyPy versions and installing them on-flight (<a href="https://github.com/actions/setup-python/issues/168">#168</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/2831efe49a72a829fb30b0b3e668563482fd8b9a"><code>2831efe</code></a> Improve find-python to add "Scripts" folder to PATH on Windows machines (<a href="https://github.com/actions/setup-python/issues/169">#169</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/3b3f2de1b1f7c1270fc5b9c37a904fa785e9ae94"><code>3b3f2de</code></a> update pypy3 to point to 3.6 (<a href="https://github.com/actions/setup-python/issues/164">#164</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/723e46dad7a73e33ab89ea319f9e3e831cd23e62"><code>723e46d</code></a> CODEOWNERS needs the org name for teams</li> <li><a href="https://github.com/actions/setup-python/commit/195f5c388bc8d0f1c6a942ce7ce156a3124a50a5"><code>195f5c3</code></a> Create CODEOWNERS</li> <li><a href="https://github.com/actions/setup-python/commit/41b7212b1668f5de9d65e9c82aa777e6bbedb3a8"><code>41b7212</code></a> Update README.md (<a href="https://github.com/actions/setup-python/issues/145">#145</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/878156f1deda8836af6aca53d02b078285bdf154"><code>878156f</code></a> Inject LD_LIBRARY_PATH library path into Python manifest install and setup (#...</li> <li><a href="https://github.com/actions/setup-python/commit/c181ffa198a1248f902bc2f7965d2f9a36c2d7f6"><code>c181ffa</code></a> Add Environment Files (<a href="https://github.com/actions/setup-python/issues/138">#138</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/1ce870e10f77260f56ad4fa2fe2b38d6f7314078"><code>1ce870e</code></a> Fix links in documentation (<a href="https://github.com/actions/setup-python/issues/135">#135</a>)</li> <li>Additional commits viewable in <a href="https://github.com/actions/setup-python/compare/v1...3105fb18c05ddd93efea5f9e0bef7a03a6e9e7df">compare view</a></li> </ul> </details> <br /> 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> 328: Bump serde from 1.0.119 to 1.0.124 r=thomaseizinger a=dependabot[bot] Bumps [serde](https://github.com/serde-rs/serde) from 1.0.119 to 1.0.124. <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>v1.0.124</h2> <ul> <li>Fix possible panic deserializing invalid data as <code>SystemTime</code> (<a href="https://github.com/serde-rs/serde/issues/1997">#1997</a>, thanks <a href="https://github.com/cyang1"><code>@cyang1</code></a>)</li> </ul> <h2>v1.0.123</h2> <ul> <li>Support <code>Self</code> keywords in fields of types that derive Deserialize (<a href="https://github.com/serde-rs/serde/issues/1830">#1830</a>, thanks <a href="https://github.com/taiki-e"><code>@taiki-e</code></a>)</li> <li>Allow floats to be deserialized from ints in tagged unions (<a href="https://github.com/serde-rs/serde/issues/1842">#1842</a>, thanks <a href="https://github.com/Timmmm"><code>@Timmmm</code></a>)</li> <li>Support <code>Self</code> inside fields that use serialize_with (<a href="https://github.com/serde-rs/serde/issues/1970">#1970</a>)</li> </ul> <h2>v1.0.122</h2> <ul> <li> <p>Add IntoDeserializer impl for &[u8] (<a href="https://github.com/serde-rs/serde/issues/1898">#1898</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Handle unrecognized numeric field keys during deserialization of a field_identifier, equivalently to string field keys (<a href="https://github.com/serde-rs/serde/issues/1914">#1914</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Add attribute to override default deserialization failure expectation message (<a href="https://github.com/serde-rs/serde/issues/1916">#1916</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> <pre lang="rust"><code>#[derive(Deserialize)] #[serde(untagged, expecting = "single version or array of versions")] struct VersionSpec { One(Version), Many(Vec<Version>), } </code></pre> </li> <li> <p>Improve <code>serde_test</code> handling of map entries and error message construction (<a href="https://github.com/serde-rs/serde/issues/1918">#1918</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Produce more accurate location information on test failures from <code>serde_test</code> crate (<a href="https://github.com/serde-rs/serde/issues/1920">#1920</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Improve diagnostic on failure to parse a <code>rename_all</code> attribute (<a href="https://github.com/serde-rs/serde/issues/1960">#1960</a>, <a href="https://github.com/serde-rs/serde/issues/1961">#1961</a>)</p> </li> <li> <p>Eliminate unnecessary trait bounds on some value Deserializer impls (<a href="https://github.com/serde-rs/serde/issues/1963">#1963</a>)</p> </li> </ul> <h2>v1.0.121</h2> <ul> <li>Support borrowed data during deserialization of a field identifier (<a href="https://github.com/serde-rs/serde/issues/1917">#1917</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</li> <li>Fix panic when deserializing <code>Duration</code> with nanoseconds that cause the seconds counter to overflow (<a href="https://github.com/serde-rs/serde/issues/1958">#1958</a>, thanks <a href="https://github.com/jonasbb"><code>@jonasbb</code></a>)</li> </ul> <h2>v1.0.120</h2> <ul> <li>Fix deserialization of ignored fields containing 128-bit integer (<a href="https://github.com/serde-rs/serde/issues/1955">#1955</a>, thanks <a href="https://github.com/TheJokr"><code>@TheJokr</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/serde-rs/serde/commit/5a8dcac2ed1407fab3f7fd23f2d56af42dcd448f"><code>5a8dcac</code></a> Release 1.0.124</li> <li><a href="https://github.com/serde-rs/serde/commit/697b082e90ea4c8204786d74d7271b0c27a63bd6"><code>697b082</code></a> Touch up PR 1997</li> <li><a href="https://github.com/serde-rs/serde/commit/d91075c8d53a1bfc839441c410718e5b7d565bc5"><code>d91075c</code></a> Merge pull request <a href="https://github.com/serde-rs/serde/issues/1997">#1997</a> from cyang1/systemtime-panics</li> <li><a href="https://github.com/serde-rs/serde/commit/4118cec731f2a9fa2b32de7234b0becfea6788f8"><code>4118cec</code></a> Prevent various panics when deserializing malformed SystemTime</li> <li><a href="https://github.com/serde-rs/serde/commit/c26101532509477132721a8c56b7024891aaf1b4"><code>c261015</code></a> Ignore incorrect suggestion from manual_map lint</li> <li><a href="https://github.com/serde-rs/serde/commit/6b5e5a83d062495669ca06fac2da36daac4f1733"><code>6b5e5a8</code></a> Ignore let_underscore_drop pedantic clippy lint</li> <li><a href="https://github.com/serde-rs/serde/commit/bc6b2b1deef5755e1ef8b5c2926c0b27bdbf9753"><code>bc6b2b1</code></a> Make json5 description capitalization consistent with other links</li> <li><a href="https://github.com/serde-rs/serde/commit/beb21cb640e8280bb853bdbe7b4c194e5fa34a33"><code>beb21cb</code></a> Ignore new missing_panics_doc pedantic clippy lint</li> <li><a href="https://github.com/serde-rs/serde/commit/7cfebbcd72837744c480439ca3b2af02f4c599ff"><code>7cfebbc</code></a> Merge pull request <a href="https://github.com/serde-rs/serde/issues/1974">#1974</a> from Mingun/new-internally-tagged-tests</li> <li><a href="https://github.com/serde-rs/serde/commit/b60c03ec3f406ce2466c4de0d5df5fbe67102f2f"><code>b60c03e</code></a> Extend test_internally_tagged_newtype_variant_containing_unit_struct to cover...</li> <li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.124">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.119&new-version=1.0.124)](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> 330: Bump dialoguer from 0.7.1 to 0.8.0 r=thomaseizinger a=dependabot[bot] Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer) from 0.7.1 to 0.8.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md">dialoguer's changelog</a>.</em></p> <blockquote> <h2>0.8.0</h2> <h3>Enhancements</h3> <ul> <li><code>Input::validate_with</code> can take a <code>FnMut</code> (allowing multiple references)</li> </ul> <h3>Breaking</h3> <ul> <li><code>Input::interact*</code> methods take <code>&mut self</code> instead of <code>&self</code></li> </ul> <h2>0.7.0</h2> <h3>Enhancements</h3> <ul> <li>Added <code>wait_for_newline</code> to <code>Confirm</code></li> <li>More secure password prompt</li> <li>More documentation</li> <li>Added <code>interact_text</code> method for input prompt</li> <li>Added <code>inline_selections</code> to <code>ColorfulTheme</code></li> </ul> <h3>Breaking</h3> <ul> <li>Removed <code>theme::CustomPromptCharacterTheme</code></li> <li><code>Input</code> validators now take the input type <code>T</code> as arg</li> <li><code>Confirm</code> has no <code>default</code> value by default now</li> </ul> <h2>0.6.2</h2> <h3>Enhancements</h3> <ul> <li>Updating some docs</li> </ul> <h2>0.6.1</h2> <h3>Bugfixes</h3> <ul> <li><code>theme::ColorfulTheme</code> default styles are for stderr</li> </ul> <h2>0.6.0</h2> <h3>Breaking</h3> <ul> <li>Removed <code>theme::SelectionStyle</code> enum</li> <li>Allowed more customization for <code>theme::Theme</code> trait by changing methods</li> <li>Allowed more customization for <code>theme::ColorfulTheme</code> by changing members</li> <li>Renamed prompt <code>Confirmation</code> to <code>Confirm</code></li> <li>Renamed prompt <code>PasswordInput</code> to <code>Password</code></li> <li>Renamed prompt <code>OrderList</code> to <code>Sort</code></li> <li>Renamed prompt <code>Checkboxes</code> to <code>MultiSelect</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mitsuhiko/dialoguer/commit/2c3fe6b64641cfb57eb0e1d428274f63976ec150"><code>2c3fe6b</code></a> Release 0.8.0</li> <li><a href="https://github.com/mitsuhiko/dialoguer/commit/64f5f9c6f597f674db5a1e7ce57b1fc12931f764"><code>64f5f9c</code></a> Allow confirm with no choice (<a href="https://github.com/mitsuhiko/dialoguer/issues/101">#101</a>)</li> <li><a href="https://github.com/mitsuhiko/dialoguer/commit/0250090f95cfe8c0ac0b484099fef5b7a57373ea"><code>0250090</code></a> Update some docs in confirm prompt</li> <li><a href="https://github.com/mitsuhiko/dialoguer/commit/a76fb72c548d4cdb89e5cbb2172d10754c6d5976"><code>a76fb72</code></a> Merge pull request <a href="https://github.com/mitsuhiko/dialoguer/issues/102">#102</a> from spenserblack/typo-fix</li> <li><a href="https://github.com/mitsuhiko/dialoguer/commit/3dd93bb75a9a606b2e245913df74a105ab2c8ed4"><code>3dd93bb</code></a> Fix typo: ereased -> erased</li> <li><a href="https://github.com/mitsuhiko/dialoguer/commit/7ea6275caaa964b1cf64a3572dcb2b66b8f5c0fb"><code>7ea6275</code></a> Update CI for i686 ubuntu</li> <li><a href="https://github.com/mitsuhiko/dialoguer/commit/af664807dad6c5dc28e030eef5e0b1c2c964e63d"><code>af66480</code></a> Allow FnMut for validate (<a href="https://github.com/mitsuhiko/dialoguer/issues/96">#96</a>)</li> <li><a href="https://github.com/mitsuhiko/dialoguer/commit/2b5722d0f5e1135e5715de54157fd4a7785a52d6"><code>2b5722d</code></a> Update README.md</li> <li><a href="https://github.com/mitsuhiko/dialoguer/commit/2df3a705ebbdd2b89fdf18bdaecc85872876c4bd"><code>2df3a70</code></a> Update ci.yml</li> <li><a href="https://github.com/mitsuhiko/dialoguer/commit/8cebf522b3f522f1fc28053ba60ace8c79947f36"><code>8cebf52</code></a> Merge pull request <a href="https://github.com/mitsuhiko/dialoguer/issues/94">#94</a> from mitsuhiko/remove-travis</li> <li>Additional commits viewable in <a href="https://github.com/mitsuhiko/dialoguer/compare/0.7.1...0.8.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dialoguer&package-manager=cargo&previous-version=0.7.1&new-version=0.8.0)](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> 331: Bump tokio from 1.0.2 to 1.3.0 r=thomaseizinger a=dependabot[bot] Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.0.2 to 1.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tokio-rs/tokio/releases">tokio's releases</a>.</em></p> <blockquote> <h2>Tokio v1.3.0</h2> <h3>Added</h3> <ul> <li>coop: expose an <code>unconstrained()</code> opt-out (<a href="https://github.com/tokio-rs/tokio/issues/3547">#3547</a>)</li> <li>net: add <code>into_std</code> for net types without it (<a href="https://github.com/tokio-rs/tokio/issues/3509">#3509</a>)</li> <li>sync: add <code>same_channel</code> method to <code>mpsc::Sender</code> (<a href="https://github.com/tokio-rs/tokio/issues/3532">#3532</a>)</li> <li>sync: add <code>{try_,}acquire_many_owned</code> to <code>Semaphore</code> (<a href="https://github.com/tokio-rs/tokio/issues/3535">#3535</a>)</li> <li>sync: add back <code>RwLockWriteGuard::map</code> and <code>RwLockWriteGuard::try_map</code> (<a href="https://github.com/tokio-rs/tokio/issues/3348">#3348</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>sync: allow <code>oneshot::Receiver::close</code> after successful <code>try_recv</code> (<a href="https://github.com/tokio-rs/tokio/issues/3552">#3552</a>)</li> <li>time: do not panic on <code>timeout(Duration::MAX)</code> (<a href="https://github.com/tokio-rs/tokio/issues/3551">#3551</a>)</li> </ul> <h3>Documented</h3> <ul> <li>doc: doc aliases for pre-1.0 function names (<a href="https://github.com/tokio-rs/tokio/issues/3523">#3523</a>)</li> <li>io: fix typos (<a href="https://github.com/tokio-rs/tokio/issues/3541">#3541</a>)</li> <li>io: note the EOF behaviour of <code>read_until</code> (<a href="https://github.com/tokio-rs/tokio/issues/3536">#3536</a>)</li> <li>io: update <code>AsyncRead::poll_read</code> doc (<a href="https://github.com/tokio-rs/tokio/issues/3557">#3557</a>)</li> <li>net: update <code>UdpSocket</code> splitting doc (<a href="https://github.com/tokio-rs/tokio/issues/3517">#3517</a>)</li> <li>runtime: add link to <code>LocalSet</code> on <code>new_current_thread</code> (<a href="https://github.com/tokio-rs/tokio/issues/3508">#3508</a>)</li> <li>runtime: update documentation of thread limits (<a href="https://github.com/tokio-rs/tokio/issues/3527">#3527</a>)</li> <li>sync: do not recommend <code>join_all</code> for <code>Barrier</code> (<a href="https://github.com/tokio-rs/tokio/issues/3514">#3514</a>)</li> <li>sync: documentation for <code>oneshot</code> (<a href="https://github.com/tokio-rs/tokio/issues/3592">#3592</a>)</li> <li>sync: rename <code>notify</code> to <code>notify_one</code> (<a href="https://github.com/tokio-rs/tokio/issues/3526">#3526</a>)</li> <li>time: fix typo in <code>Sleep</code> doc (<a href="https://github.com/tokio-rs/tokio/issues/3515">#3515</a>)</li> <li>time: sync <code>interval.rs</code> and <code>time/mod.rs</code> docs (<a href="https://github.com/tokio-rs/tokio/issues/3533">#3533</a>)</li> </ul> <h2>Tokio v1.2.0</h2> <h3>Added</h3> <ul> <li>signal: make <code>Signal::poll_recv</code> method public (<a href="https://github.com/tokio-rs/tokio/issues/3383">#3383</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>time: make <code>test-util</code> paused time fully deterministic (<a href="https://github.com/tokio-rs/tokio/issues/3492">#3492</a>)</li> </ul> <h3>Documented</h3> <ul> <li>sync: link to new broadcast and watch wrappers (<a href="https://github.com/tokio-rs/tokio/issues/3504">#3504</a>)</li> </ul> <h2>Tokio v1.1.1</h2> <p>Forward ports 1.0.3 fix.</p> <h3>Fixed</h3> <ul> <li>io: memory leak during shutdown (<a href="https://github.com/tokio-rs/tokio/issues/3477">#3477</a>).</li> </ul> <h2>Tokio v1.1.0</h2> <h3>Added</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tokio-rs/tokio/commit/d0e4dd1d7ba8938cda3bf163b86d78ec16e2ee06"><code>d0e4dd1</code></a> chore: prepare Tokio v1.3.0 (<a href="https://github.com/tokio-rs/tokio/issues/3597">#3597</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/872bc09e837f63cfa1b0907fc16d3e21be6630ac"><code>872bc09</code></a> examples: update chat example (<a href="https://github.com/tokio-rs/tokio/issues/3587">#3587</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/db1d90453c04740176c354002b56da6f8cb30f2c"><code>db1d904</code></a> util: fuse PollSemaphore (<a href="https://github.com/tokio-rs/tokio/issues/3578">#3578</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/05eeea570e69f78b5937e807272551bc3075c073"><code>05eeea5</code></a> coop: expose an unconstrained() opt-out (<a href="https://github.com/tokio-rs/tokio/issues/3547">#3547</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/f70b9b84f7ac9c18b9b64ca52d3b4b594333b8e3"><code>f70b9b8</code></a> sync: documenation for oneshot (<a href="https://github.com/tokio-rs/tokio/issues/3592">#3592</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/704de8c01b331c2651c0cdb0d5ec6b0657e14344"><code>704de8c</code></a> stream: remove duplicate <code>doc(test(..))</code> & <code>cfg_attr</code> declarations (<a href="https://github.com/tokio-rs/tokio/issues/3571">#3571</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/47be928444babf84507a69ac42bb9c9447c78672"><code>47be928</code></a> sync: yield initial value in WatchStream (<a href="https://github.com/tokio-rs/tokio/issues/3576">#3576</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/e06b257e09b8ca1def4a3537a4448a31f2ede388"><code>e06b257</code></a> sync: add same_channel method to mpsc Senders (<a href="https://github.com/tokio-rs/tokio/issues/3532">#3532</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/0867a6fc0313b7ce0483e55956ebb0b2857a9a23"><code>0867a6f</code></a> util: add pollable mpsc::Sender (<a href="https://github.com/tokio-rs/tokio/issues/3490">#3490</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/0d838bf5ade7509e622559458a367cca65133f06"><code>0d838bf</code></a> io: fix link to std src in util (<a href="https://github.com/tokio-rs/tokio/issues/3568">#3568</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-1.0.2...tokio-1.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tokio&package-manager=cargo&previous-version=1.0.2&new-version=1.3.0)](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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
bors bot
referenced
this pull request
in comit-network/xmr-btc-swap
Mar 17, 2021
328: Bump serde from 1.0.119 to 1.0.124 r=thomaseizinger a=dependabot[bot] Bumps [serde](https://github.com/serde-rs/serde) from 1.0.119 to 1.0.124. <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>v1.0.124</h2> <ul> <li>Fix possible panic deserializing invalid data as <code>SystemTime</code> (<a href="https://github.com/serde-rs/serde/issues/1997">#1997</a>, thanks <a href="https://github.com/cyang1"><code>@cyang1</code></a>)</li> </ul> <h2>v1.0.123</h2> <ul> <li>Support <code>Self</code> keywords in fields of types that derive Deserialize (<a href="https://github.com/serde-rs/serde/issues/1830">#1830</a>, thanks <a href="https://github.com/taiki-e"><code>@taiki-e</code></a>)</li> <li>Allow floats to be deserialized from ints in tagged unions (<a href="https://github.com/serde-rs/serde/issues/1842">#1842</a>, thanks <a href="https://github.com/Timmmm"><code>@Timmmm</code></a>)</li> <li>Support <code>Self</code> inside fields that use serialize_with (<a href="https://github.com/serde-rs/serde/issues/1970">#1970</a>)</li> </ul> <h2>v1.0.122</h2> <ul> <li> <p>Add IntoDeserializer impl for &[u8] (<a href="https://github.com/serde-rs/serde/issues/1898">#1898</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Handle unrecognized numeric field keys during deserialization of a field_identifier, equivalently to string field keys (<a href="https://github.com/serde-rs/serde/issues/1914">#1914</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Add attribute to override default deserialization failure expectation message (<a href="https://github.com/serde-rs/serde/issues/1916">#1916</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> <pre lang="rust"><code>#[derive(Deserialize)] #[serde(untagged, expecting = "single version or array of versions")] struct VersionSpec { One(Version), Many(Vec<Version>), } </code></pre> </li> <li> <p>Improve <code>serde_test</code> handling of map entries and error message construction (<a href="https://github.com/serde-rs/serde/issues/1918">#1918</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Produce more accurate location information on test failures from <code>serde_test</code> crate (<a href="https://github.com/serde-rs/serde/issues/1920">#1920</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Improve diagnostic on failure to parse a <code>rename_all</code> attribute (<a href="https://github.com/serde-rs/serde/issues/1960">#1960</a>, <a href="https://github.com/serde-rs/serde/issues/1961">#1961</a>)</p> </li> <li> <p>Eliminate unnecessary trait bounds on some value Deserializer impls (<a href="https://github.com/serde-rs/serde/issues/1963">#1963</a>)</p> </li> </ul> <h2>v1.0.121</h2> <ul> <li>Support borrowed data during deserialization of a field identifier (<a href="https://github.com/serde-rs/serde/issues/1917">#1917</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</li> <li>Fix panic when deserializing <code>Duration</code> with nanoseconds that cause the seconds counter to overflow (<a href="https://github.com/serde-rs/serde/issues/1958">#1958</a>, thanks <a href="https://github.com/jonasbb"><code>@jonasbb</code></a>)</li> </ul> <h2>v1.0.120</h2> <ul> <li>Fix deserialization of ignored fields containing 128-bit integer (<a href="https://github.com/serde-rs/serde/issues/1955">#1955</a>, thanks <a href="https://github.com/TheJokr"><code>@TheJokr</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/serde-rs/serde/commit/5a8dcac2ed1407fab3f7fd23f2d56af42dcd448f"><code>5a8dcac</code></a> Release 1.0.124</li> <li><a href="https://github.com/serde-rs/serde/commit/697b082e90ea4c8204786d74d7271b0c27a63bd6"><code>697b082</code></a> Touch up PR 1997</li> <li><a href="https://github.com/serde-rs/serde/commit/d91075c8d53a1bfc839441c410718e5b7d565bc5"><code>d91075c</code></a> Merge pull request <a href="https://github.com/serde-rs/serde/issues/1997">#1997</a> from cyang1/systemtime-panics</li> <li><a href="https://github.com/serde-rs/serde/commit/4118cec731f2a9fa2b32de7234b0becfea6788f8"><code>4118cec</code></a> Prevent various panics when deserializing malformed SystemTime</li> <li><a href="https://github.com/serde-rs/serde/commit/c26101532509477132721a8c56b7024891aaf1b4"><code>c261015</code></a> Ignore incorrect suggestion from manual_map lint</li> <li><a href="https://github.com/serde-rs/serde/commit/6b5e5a83d062495669ca06fac2da36daac4f1733"><code>6b5e5a8</code></a> Ignore let_underscore_drop pedantic clippy lint</li> <li><a href="https://github.com/serde-rs/serde/commit/bc6b2b1deef5755e1ef8b5c2926c0b27bdbf9753"><code>bc6b2b1</code></a> Make json5 description capitalization consistent with other links</li> <li><a href="https://github.com/serde-rs/serde/commit/beb21cb640e8280bb853bdbe7b4c194e5fa34a33"><code>beb21cb</code></a> Ignore new missing_panics_doc pedantic clippy lint</li> <li><a href="https://github.com/serde-rs/serde/commit/7cfebbcd72837744c480439ca3b2af02f4c599ff"><code>7cfebbc</code></a> Merge pull request <a href="https://github.com/serde-rs/serde/issues/1974">#1974</a> from Mingun/new-internally-tagged-tests</li> <li><a href="https://github.com/serde-rs/serde/commit/b60c03ec3f406ce2466c4de0d5df5fbe67102f2f"><code>b60c03e</code></a> Extend test_internally_tagged_newtype_variant_containing_unit_struct to cover...</li> <li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.124">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.119&new-version=1.0.124)](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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
bors bot
referenced
this pull request
in comit-network/xmr-btc-swap
Mar 17, 2021
328: Bump serde from 1.0.119 to 1.0.124 r=thomaseizinger a=dependabot[bot] Bumps [serde](https://github.com/serde-rs/serde) from 1.0.119 to 1.0.124. <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>v1.0.124</h2> <ul> <li>Fix possible panic deserializing invalid data as <code>SystemTime</code> (<a href="https://github.com/serde-rs/serde/issues/1997">#1997</a>, thanks <a href="https://github.com/cyang1"><code>@cyang1</code></a>)</li> </ul> <h2>v1.0.123</h2> <ul> <li>Support <code>Self</code> keywords in fields of types that derive Deserialize (<a href="https://github.com/serde-rs/serde/issues/1830">#1830</a>, thanks <a href="https://github.com/taiki-e"><code>@taiki-e</code></a>)</li> <li>Allow floats to be deserialized from ints in tagged unions (<a href="https://github.com/serde-rs/serde/issues/1842">#1842</a>, thanks <a href="https://github.com/Timmmm"><code>@Timmmm</code></a>)</li> <li>Support <code>Self</code> inside fields that use serialize_with (<a href="https://github.com/serde-rs/serde/issues/1970">#1970</a>)</li> </ul> <h2>v1.0.122</h2> <ul> <li> <p>Add IntoDeserializer impl for &[u8] (<a href="https://github.com/serde-rs/serde/issues/1898">#1898</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Handle unrecognized numeric field keys during deserialization of a field_identifier, equivalently to string field keys (<a href="https://github.com/serde-rs/serde/issues/1914">#1914</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Add attribute to override default deserialization failure expectation message (<a href="https://github.com/serde-rs/serde/issues/1916">#1916</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> <pre lang="rust"><code>#[derive(Deserialize)] #[serde(untagged, expecting = "single version or array of versions")] struct VersionSpec { One(Version), Many(Vec<Version>), } </code></pre> </li> <li> <p>Improve <code>serde_test</code> handling of map entries and error message construction (<a href="https://github.com/serde-rs/serde/issues/1918">#1918</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Produce more accurate location information on test failures from <code>serde_test</code> crate (<a href="https://github.com/serde-rs/serde/issues/1920">#1920</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Improve diagnostic on failure to parse a <code>rename_all</code> attribute (<a href="https://github.com/serde-rs/serde/issues/1960">#1960</a>, <a href="https://github.com/serde-rs/serde/issues/1961">#1961</a>)</p> </li> <li> <p>Eliminate unnecessary trait bounds on some value Deserializer impls (<a href="https://github.com/serde-rs/serde/issues/1963">#1963</a>)</p> </li> </ul> <h2>v1.0.121</h2> <ul> <li>Support borrowed data during deserialization of a field identifier (<a href="https://github.com/serde-rs/serde/issues/1917">#1917</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</li> <li>Fix panic when deserializing <code>Duration</code> with nanoseconds that cause the seconds counter to overflow (<a href="https://github.com/serde-rs/serde/issues/1958">#1958</a>, thanks <a href="https://github.com/jonasbb"><code>@jonasbb</code></a>)</li> </ul> <h2>v1.0.120</h2> <ul> <li>Fix deserialization of ignored fields containing 128-bit integer (<a href="https://github.com/serde-rs/serde/issues/1955">#1955</a>, thanks <a href="https://github.com/TheJokr"><code>@TheJokr</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/serde-rs/serde/commit/5a8dcac2ed1407fab3f7fd23f2d56af42dcd448f"><code>5a8dcac</code></a> Release 1.0.124</li> <li><a href="https://github.com/serde-rs/serde/commit/697b082e90ea4c8204786d74d7271b0c27a63bd6"><code>697b082</code></a> Touch up PR 1997</li> <li><a href="https://github.com/serde-rs/serde/commit/d91075c8d53a1bfc839441c410718e5b7d565bc5"><code>d91075c</code></a> Merge pull request <a href="https://github.com/serde-rs/serde/issues/1997">#1997</a> from cyang1/systemtime-panics</li> <li><a href="https://github.com/serde-rs/serde/commit/4118cec731f2a9fa2b32de7234b0becfea6788f8"><code>4118cec</code></a> Prevent various panics when deserializing malformed SystemTime</li> <li><a href="https://github.com/serde-rs/serde/commit/c26101532509477132721a8c56b7024891aaf1b4"><code>c261015</code></a> Ignore incorrect suggestion from manual_map lint</li> <li><a href="https://github.com/serde-rs/serde/commit/6b5e5a83d062495669ca06fac2da36daac4f1733"><code>6b5e5a8</code></a> Ignore let_underscore_drop pedantic clippy lint</li> <li><a href="https://github.com/serde-rs/serde/commit/bc6b2b1deef5755e1ef8b5c2926c0b27bdbf9753"><code>bc6b2b1</code></a> Make json5 description capitalization consistent with other links</li> <li><a href="https://github.com/serde-rs/serde/commit/beb21cb640e8280bb853bdbe7b4c194e5fa34a33"><code>beb21cb</code></a> Ignore new missing_panics_doc pedantic clippy lint</li> <li><a href="https://github.com/serde-rs/serde/commit/7cfebbcd72837744c480439ca3b2af02f4c599ff"><code>7cfebbc</code></a> Merge pull request <a href="https://github.com/serde-rs/serde/issues/1974">#1974</a> from Mingun/new-internally-tagged-tests</li> <li><a href="https://github.com/serde-rs/serde/commit/b60c03ec3f406ce2466c4de0d5df5fbe67102f2f"><code>b60c03e</code></a> Extend test_internally_tagged_newtype_variant_containing_unit_struct to cover...</li> <li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.124">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.119&new-version=1.0.124)](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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
abraham-nixon
referenced
this pull request
in abraham-nixon/xmr-btc-swap
Feb 15, 2022
328: Bump serde from 1.0.119 to 1.0.124 r=thomaseizinger a=dependabot[bot] Bumps [serde](https://github.com/serde-rs/serde) from 1.0.119 to 1.0.124. <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>v1.0.124</h2> <ul> <li>Fix possible panic deserializing invalid data as <code>SystemTime</code> (<a href="https://github.com/serde-rs/serde/issues/1997">#1997</a>, thanks <a href="https://github.com/cyang1"><code>@cyang1</code></a>)</li> </ul> <h2>v1.0.123</h2> <ul> <li>Support <code>Self</code> keywords in fields of types that derive Deserialize (<a href="https://github.com/serde-rs/serde/issues/1830">#1830</a>, thanks <a href="https://github.com/taiki-e"><code>@taiki-e</code></a>)</li> <li>Allow floats to be deserialized from ints in tagged unions (<a href="https://github.com/serde-rs/serde/issues/1842">#1842</a>, thanks <a href="https://github.com/Timmmm"><code>@Timmmm</code></a>)</li> <li>Support <code>Self</code> inside fields that use serialize_with (<a href="https://github.com/serde-rs/serde/issues/1970">#1970</a>)</li> </ul> <h2>v1.0.122</h2> <ul> <li> <p>Add IntoDeserializer impl for &[u8] (<a href="https://github.com/serde-rs/serde/issues/1898">#1898</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Handle unrecognized numeric field keys during deserialization of a field_identifier, equivalently to string field keys (<a href="https://github.com/serde-rs/serde/issues/1914">#1914</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Add attribute to override default deserialization failure expectation message (<a href="https://github.com/serde-rs/serde/issues/1916">#1916</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> <pre lang="rust"><code>#[derive(Deserialize)] #[serde(untagged, expecting = "single version or array of versions")] struct VersionSpec { One(Version), Many(Vec<Version>), } </code></pre> </li> <li> <p>Improve <code>serde_test</code> handling of map entries and error message construction (<a href="https://github.com/serde-rs/serde/issues/1918">#1918</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Produce more accurate location information on test failures from <code>serde_test</code> crate (<a href="https://github.com/serde-rs/serde/issues/1920">#1920</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</p> </li> <li> <p>Improve diagnostic on failure to parse a <code>rename_all</code> attribute (<a href="https://github.com/serde-rs/serde/issues/1960">#1960</a>, <a href="https://github.com/serde-rs/serde/issues/1961">#1961</a>)</p> </li> <li> <p>Eliminate unnecessary trait bounds on some value Deserializer impls (<a href="https://github.com/serde-rs/serde/issues/1963">#1963</a>)</p> </li> </ul> <h2>v1.0.121</h2> <ul> <li>Support borrowed data during deserialization of a field identifier (<a href="https://github.com/serde-rs/serde/issues/1917">#1917</a>, thanks <a href="https://github.com/Mingun"><code>@Mingun</code></a>)</li> <li>Fix panic when deserializing <code>Duration</code> with nanoseconds that cause the seconds counter to overflow (<a href="https://github.com/serde-rs/serde/issues/1958">#1958</a>, thanks <a href="https://github.com/jonasbb"><code>@jonasbb</code></a>)</li> </ul> <h2>v1.0.120</h2> <ul> <li>Fix deserialization of ignored fields containing 128-bit integer (<a href="https://github.com/serde-rs/serde/issues/1955">#1955</a>, thanks <a href="https://github.com/TheJokr"><code>@TheJokr</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/serde-rs/serde/commit/5a8dcac2ed1407fab3f7fd23f2d56af42dcd448f"><code>5a8dcac</code></a> Release 1.0.124</li> <li><a href="https://github.com/serde-rs/serde/commit/697b082e90ea4c8204786d74d7271b0c27a63bd6"><code>697b082</code></a> Touch up PR 1997</li> <li><a href="https://github.com/serde-rs/serde/commit/d91075c8d53a1bfc839441c410718e5b7d565bc5"><code>d91075c</code></a> Merge pull request <a href="https://github.com/serde-rs/serde/issues/1997">#1997</a> from cyang1/systemtime-panics</li> <li><a href="https://github.com/serde-rs/serde/commit/4118cec731f2a9fa2b32de7234b0becfea6788f8"><code>4118cec</code></a> Prevent various panics when deserializing malformed SystemTime</li> <li><a href="https://github.com/serde-rs/serde/commit/c26101532509477132721a8c56b7024891aaf1b4"><code>c261015</code></a> Ignore incorrect suggestion from manual_map lint</li> <li><a href="https://github.com/serde-rs/serde/commit/6b5e5a83d062495669ca06fac2da36daac4f1733"><code>6b5e5a8</code></a> Ignore let_underscore_drop pedantic clippy lint</li> <li><a href="https://github.com/serde-rs/serde/commit/bc6b2b1deef5755e1ef8b5c2926c0b27bdbf9753"><code>bc6b2b1</code></a> Make json5 description capitalization consistent with other links</li> <li><a href="https://github.com/serde-rs/serde/commit/beb21cb640e8280bb853bdbe7b4c194e5fa34a33"><code>beb21cb</code></a> Ignore new missing_panics_doc pedantic clippy lint</li> <li><a href="https://github.com/serde-rs/serde/commit/7cfebbcd72837744c480439ca3b2af02f4c599ff"><code>7cfebbc</code></a> Merge pull request <a href="https://github.com/serde-rs/serde/issues/1974">#1974</a> from Mingun/new-internally-tagged-tests</li> <li><a href="https://github.com/serde-rs/serde/commit/b60c03ec3f406ce2466c4de0d5df5fbe67102f2f"><code>b60c03e</code></a> Extend test_internally_tagged_newtype_variant_containing_unit_struct to cover...</li> <li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.124">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.119&new-version=1.0.124)](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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
kjuulh
added a commit
to kjuulh/crunch
that referenced
this pull request
Sep 24, 2023
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [anyhow](https://github.com/dtolnay/anyhow) | workspace.dependencies | patch | `1.0.71` -> `1.0.75` | | [bytes](https://github.com/tokio-rs/bytes) | workspace.dependencies | major | `0.4` -> `1.5` | | [capnp](https://github.com/capnproto/capnproto-rust) | dependencies | minor | `0.17.2` -> `0.18.1` | | [capnpc](https://github.com/capnproto/capnproto-rust) | build-dependencies | minor | `0.17.2` -> `0.18.0` | | [criterion](https://bheisler.github.io/criterion.rs/book/index.html) ([source](https://github.com/bheisler/criterion.rs)) | dev-dependencies | minor | `0.4` -> `0.5` | | [prost-build](https://github.com/tokio-rs/prost) | build-dependencies | minor | `0.5` -> `0.12` | | [prost-build](https://github.com/tokio-rs/prost) | workspace.dependencies | minor | `0.5` -> `0.12` | | [serde](https://serde.rs) ([source](https://github.com/serde-rs/serde)) | workspace.dependencies | patch | `1.0.88` -> `1.0.188` | --- ### Release Notes <details> <summary>dtolnay/anyhow</summary> ### [`v1.0.75`](https://github.com/dtolnay/anyhow/releases/tag/1.0.75) [Compare Source](https://github.com/dtolnay/anyhow/compare/1.0.74...1.0.75) - Partially work around rust-analyzer bug (https://github.com/rust-lang/rust-analyzer/issues/9911) ### [`v1.0.74`](https://github.com/dtolnay/anyhow/releases/tag/1.0.74) [Compare Source](https://github.com/dtolnay/anyhow/compare/1.0.73...1.0.74) - Add bootstrap workaround to allow rustc to depend on anyhow ([#​320](https://github.com/dtolnay/anyhow/issues/320), thanks [@​RalfJung](https://github.com/RalfJung)) ### [`v1.0.73`](https://github.com/dtolnay/anyhow/releases/tag/1.0.73) [Compare Source](https://github.com/dtolnay/anyhow/compare/1.0.72...1.0.73) - Update backtrace support to nightly's new Error::provide API (https://github.com/rust-lang/rust/pull/113464, [#​319](https://github.com/dtolnay/anyhow/issues/319)) ### [`v1.0.72`](https://github.com/dtolnay/anyhow/releases/tag/1.0.72) [Compare Source](https://github.com/dtolnay/anyhow/compare/1.0.71...1.0.72) - Documentation improvements </details> <details> <summary>tokio-rs/bytes</summary> ### [`v1.5.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​150-September-7-2023) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.4.0...v1.5.0) ##### Added - Add `UninitSlice::{new,uninit}` ([#​598](https://github.com/tokio-rs/bytes/issues/598), [#​599](https://github.com/tokio-rs/bytes/issues/599)) - Implement `BufMut` for `&mut [MaybeUninit<u8>]` ([#​597](https://github.com/tokio-rs/bytes/issues/597)) ##### Changed - Mark `BytesMut::extend_from_slice` as inline ([#​595](https://github.com/tokio-rs/bytes/issues/595)) ### [`v1.4.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​140-January-31-2023) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.3.0...v1.4.0) ##### Added - Make `IntoIter` constructor public ([#​581](https://github.com/tokio-rs/bytes/issues/581)) ##### Fixed - Avoid large reallocations when freezing `BytesMut` ([#​592](https://github.com/tokio-rs/bytes/issues/592)) ##### Documented - Document which functions require `std` ([#​591](https://github.com/tokio-rs/bytes/issues/591)) - Fix duplicate "the the" typos ([#​585](https://github.com/tokio-rs/bytes/issues/585)) ### [`v1.3.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​130-November-20-2022) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.2.1...v1.3.0) ##### Added - Rename and expose `BytesMut::spare_capacity_mut` ([#​572](https://github.com/tokio-rs/bytes/issues/572)) - Implement native-endian get and put functions for `Buf` and `BufMut` ([#​576](https://github.com/tokio-rs/bytes/issues/576)) ##### Fixed - Don't have important data in unused capacity when calling reserve ([#​563](https://github.com/tokio-rs/bytes/issues/563)) ##### Documented - `Bytes::new` etc should return `Self` not `Bytes` ([#​568](https://github.com/tokio-rs/bytes/issues/568)) ### [`v1.2.1`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​121-July-30-2022) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.2.0...v1.2.1) ##### Fixed - Fix unbounded memory growth when using `reserve` ([#​560](https://github.com/tokio-rs/bytes/issues/560)) ### [`v1.2.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​120-July-19-2022) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.1.0...v1.2.0) ##### Added - Add `BytesMut::zeroed` ([#​517](https://github.com/tokio-rs/bytes/issues/517)) - Implement `Extend<Bytes>` for `BytesMut` ([#​527](https://github.com/tokio-rs/bytes/issues/527)) - Add conversion from `BytesMut` to `Vec<u8>` ([#​543](https://github.com/tokio-rs/bytes/issues/543), [#​554](https://github.com/tokio-rs/bytes/issues/554)) - Add conversion from `Bytes` to `Vec<u8>` ([#​547](https://github.com/tokio-rs/bytes/issues/547)) - Add `UninitSlice::as_uninit_slice_mut()` ([#​548](https://github.com/tokio-rs/bytes/issues/548)) - Add const to `Bytes::{len,is_empty}` ([#​514](https://github.com/tokio-rs/bytes/issues/514)) ##### Changed - Reuse vector in `BytesMut::reserve` ([#​539](https://github.com/tokio-rs/bytes/issues/539), [#​544](https://github.com/tokio-rs/bytes/issues/544)) ##### Fixed - Make miri happy ([#​515](https://github.com/tokio-rs/bytes/issues/515), [#​523](https://github.com/tokio-rs/bytes/issues/523), [#​542](https://github.com/tokio-rs/bytes/issues/542), [#​545](https://github.com/tokio-rs/bytes/issues/545), [#​553](https://github.com/tokio-rs/bytes/issues/553)) - Make tsan happy ([#​541](https://github.com/tokio-rs/bytes/issues/541)) - Fix `remaining_mut()` on chain ([#​488](https://github.com/tokio-rs/bytes/issues/488)) - Fix amortized asymptotics of `BytesMut` ([#​555](https://github.com/tokio-rs/bytes/issues/555)) ##### Documented - Redraw layout diagram with box drawing characters ([#​539](https://github.com/tokio-rs/bytes/issues/539)) - Clarify `BytesMut::unsplit` docs ([#​535](https://github.com/tokio-rs/bytes/issues/535)) ### [`v1.1.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​110-August-25-2021) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.0.1...v1.1.0) ##### Added - `BufMut::put_bytes(self, val, cnt)` ([#​487](https://github.com/tokio-rs/bytes/issues/487)) - Implement `From<Box<[u8]>>` for `Bytes` ([#​504](https://github.com/tokio-rs/bytes/issues/504)) ##### Changed - Override `put_slice` for `&mut [u8]` ([#​483](https://github.com/tokio-rs/bytes/issues/483)) - Panic on integer overflow in `Chain::remaining` ([#​482](https://github.com/tokio-rs/bytes/issues/482)) - Add inline tags to `UninitSlice` methods ([#​443](https://github.com/tokio-rs/bytes/issues/443)) - Override `copy_to_bytes` for Chain and Take ([#​481](https://github.com/tokio-rs/bytes/issues/481)) - Keep capacity when unsplit on empty other buf ([#​502](https://github.com/tokio-rs/bytes/issues/502)) ##### Documented - Clarify `BufMut` allocation guarantees ([#​501](https://github.com/tokio-rs/bytes/issues/501)) - Clarify `BufMut::put_int` behavior ([#​486](https://github.com/tokio-rs/bytes/issues/486)) - Clarify actions of `clear` and `truncate`. ([#​508](https://github.com/tokio-rs/bytes/issues/508)) ### [`v1.0.1`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​101-January-11-2021) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.0.0...v1.0.1) ##### Changed - mark `Vec::put_slice` with `#[inline]` ([#​459](https://github.com/tokio-rs/bytes/issues/459)) ##### Fixed - Fix deprecation warning ([#​457](https://github.com/tokio-rs/bytes/issues/457)) - use `Box::into_raw` instead of `mem::forget`-in-disguise ([#​458](https://github.com/tokio-rs/bytes/issues/458)) ### [`v1.0.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​100-December-22-2020) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.6.0...v1.0.0) ##### Changed - Rename `Buf`/`BufMut` methods `bytes()` and `bytes_mut()` to `chunk()` and `chunk_mut()` ([#​450](https://github.com/tokio-rs/bytes/issues/450)) ##### Removed - remove unused Buf implementation. ([#​449](https://github.com/tokio-rs/bytes/issues/449)) ### [`v0.6.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​060-October-21-2020) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.5.6...v0.6.0) API polish in preparation for a 1.0 release. ##### Changed - `BufMut` is now an `unsafe` trait ([#​432](https://github.com/tokio-rs/bytes/issues/432)). - `BufMut::bytes_mut()` returns `&mut UninitSlice`, a type owned by `bytes` to avoid undefined behavior ([#​433](https://github.com/tokio-rs/bytes/issues/433)). - `Buf::copy_to_bytes(len)` replaces `Buf::into_bytes()` ([#​439](https://github.com/tokio-rs/bytes/issues/439)). - `Buf`/`BufMut` utility methods are moved onto the trait and `*Ext` traits are removed ([#​431](https://github.com/tokio-rs/bytes/issues/431)). ##### Removed - `BufMut::bytes_vectored_mut()` ([#​430](https://github.com/tokio-rs/bytes/issues/430)). - `new` methods on combinator types ([#​434](https://github.com/tokio-rs/bytes/issues/434)). ### [`v0.5.6`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​056-July-13-2020) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.5.5...v0.5.6) - Improve `BytesMut` to reuse buffer when fully `advance`d. - Mark `BytesMut::{as_mut, set_len}` with `#[inline]`. - Relax synchronization when cloning in shared vtable of `Bytes`. - Move `loom` to `dev-dependencies`. ### [`v0.5.5`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​055-June-18-2020) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.5.4...v0.5.5) ##### Added - Allow using the `serde` feature in `no_std` environments ([#​385](https://github.com/tokio-rs/bytes/issues/385)). ##### Fix - Fix `BufMut::advance_mut` to panic if advanced passed the capacity ([#​354](https://github.com/tokio-rs/bytes/issues/354)).. - Fix `BytesMut::freeze` ignoring amount previously `advance`d ([#​352](https://github.com/tokio-rs/bytes/issues/352)). ### [`v0.5.4`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​054-January-23-2020) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.5.3...v0.5.4) ##### Added - Make `Bytes::new` a `const fn`. - Add `From<BytesMut>` for `Bytes`. ##### Fix - Fix reversed arguments in `PartialOrd` for `Bytes`. - Fix `Bytes::truncate` losing original capacity when repr is an unshared `Vec`. - Fix `Bytes::from(Vec)` when allocator gave `Vec` a pointer with LSB set. - Fix panic in `Bytes::slice_ref` if argument is an empty slice. ### [`v0.5.3`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​053-December-12-2019) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.5.2...v0.5.3) ##### Added - `must_use` attributes to `split`, `split_off`, and `split_to` methods ([#​337](https://github.com/tokio-rs/bytes/issues/337)). ##### Fix - Potential freeing of a null pointer in `Bytes` when constructed with an empty `Vec<u8>` ([#​341](https://github.com/tokio-rs/bytes/issues/341), [#​342](https://github.com/tokio-rs/bytes/issues/342)). - Calling `Bytes::truncate` with a size large than the length will no longer clear the `Bytes` ([#​333](https://github.com/tokio-rs/bytes/issues/333)). ### [`v0.5.2`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​052-November-27-2019) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.5.1...v0.5.2) ##### Added - `Limit` methods `into_inner`, `get_ref`, `get_mut`, `limit`, and `set_limit` ([#​325](https://github.com/tokio-rs/bytes/issues/325)). ### [`v0.5.1`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​051-November-25-2019) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.5.0...v0.5.1) ##### Fix - Growth documentation for `BytesMut` ([#​321](https://github.com/tokio-rs/bytes/issues/321)) ### [`v0.5.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​050-November-25-2019) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.4.12...v0.5.0) ##### Fix - Potential overflow in `copy_to_slice` ##### Changed - Increased minimum supported Rust version to 1.39. - `Bytes` is now a "trait object", allowing for custom allocation strategies ([#​298](https://github.com/tokio-rs/bytes/issues/298)) - `BytesMut` implicitly grows internal storage. `remaining_mut()` returns `usize::MAX` ([#​316](https://github.com/tokio-rs/bytes/issues/316)). - `BufMut::bytes_mut` returns `&mut [MaybeUninit<u8>]` to reflect the unknown initialization state ([#​305](https://github.com/tokio-rs/bytes/issues/305)). - `Buf` / `BufMut` implementations for `&[u8]` and `&mut [u8]` respectively ([#​261](https://github.com/tokio-rs/bytes/issues/261)). - Move `Buf` / `BufMut` "extra" functions to an extension trait ([#​306](https://github.com/tokio-rs/bytes/issues/306)). - `BufMutExt::limit` ([#​309](https://github.com/tokio-rs/bytes/issues/309)). - `Bytes::slice` takes a `RangeBounds` argument ([#​265](https://github.com/tokio-rs/bytes/issues/265)). - `Bytes::from_static` is now a `const fn` ([#​311](https://github.com/tokio-rs/bytes/issues/311)). - A multitude of smaller performance optimizations. ##### Added - `no_std` support ([#​281](https://github.com/tokio-rs/bytes/issues/281)). - `get_*`, `put_*`, `get_*_le`, and `put_*le` accessors for handling byte order. - `BorrowMut` implementation for `BytesMut` ([#​185](https://github.com/tokio-rs/bytes/issues/185)). ##### Removed - `IntoBuf` ([#​288](https://github.com/tokio-rs/bytes/issues/288)). - `Buf` implementation for `&str` ([#​301](https://github.com/tokio-rs/bytes/issues/301)). - `byteorder` dependency ([#​280](https://github.com/tokio-rs/bytes/issues/280)). - `iovec` dependency, use `std::IoSlice` instead ([#​263](https://github.com/tokio-rs/bytes/issues/263)). - optional `either` dependency ([#​315](https://github.com/tokio-rs/bytes/issues/315)). - optional `i128` feature -- now available on stable. ([#​276](https://github.com/tokio-rs/bytes/issues/276)). ### [`v0.4.12`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​0412-March-6-2019) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.4.11...v0.4.12) ##### Added - Implement `FromIterator<&'a u8>` for `BytesMut`/`Bytes` ([#​244](https://github.com/tokio-rs/bytes/issues/244)). - Implement `Buf` for `VecDeque` ([#​249](https://github.com/tokio-rs/bytes/issues/249)). ### [`v0.4.11`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​0411-November-17-2018) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.4.10...v0.4.11) - Use raw pointers for potentially racy loads ([#​233](https://github.com/tokio-rs/bytes/issues/233)). - Implement `BufRead` for `buf::Reader` ([#​232](https://github.com/tokio-rs/bytes/issues/232)). - Documentation tweaks ([#​234](https://github.com/tokio-rs/bytes/issues/234)). ### [`v0.4.10`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​0410-September-4-2018) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.4.9...v0.4.10) - impl `Buf` and `BufMut` for `Either` ([#​225](https://github.com/tokio-rs/bytes/issues/225)). - Add `Bytes::slice_ref` ([#​208](https://github.com/tokio-rs/bytes/issues/208)). ### [`v0.4.9`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​049-July-12-2018) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.4.8...v0.4.9) - Add 128 bit number support behind a feature flag ([#​209](https://github.com/tokio-rs/bytes/issues/209)). - Implement `IntoBuf` for `&mut [u8]` ### [`v0.4.8`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​048-May-25-2018) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.4.7...v0.4.8) - Fix panic in `BytesMut` `FromIterator` implementation. - Bytes: Recycle space when reserving space in vec mode ([#​197](https://github.com/tokio-rs/bytes/issues/197)). - Bytes: Add resize fn ([#​203](https://github.com/tokio-rs/bytes/issues/203)). ### [`v0.4.7`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​047-April-27-2018) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.4.6...v0.4.7) - Make `Buf` and `BufMut` usable as trait objects ([#​186](https://github.com/tokio-rs/bytes/issues/186)). - impl BorrowMut for BytesMut ([#​185](https://github.com/tokio-rs/bytes/issues/185)). - Improve accessor performance ([#​195](https://github.com/tokio-rs/bytes/issues/195)). ### [`v0.4.6`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​046-Janary-8-2018) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.4.5...v0.4.6) - Implement FromIterator for Bytes/BytesMut ([#​148](https://github.com/tokio-rs/bytes/issues/148)). - Add `advance` fn to Bytes/BytesMut ([#​166](https://github.com/tokio-rs/bytes/issues/166)). - Add `unsplit` fn to `BytesMut` ([#​162](https://github.com/tokio-rs/bytes/issues/162), [#​173](https://github.com/tokio-rs/bytes/issues/173)). - Improvements to Bytes split fns ([#​92](https://github.com/tokio-rs/bytes/issues/92)). ### [`v0.4.5`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​045-August-12-2017) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.4.4...v0.4.5) - Fix range bug in `Take::bytes` - Misc performance improvements - Add extra `PartialEq` implementations. - Add `Bytes::with_capacity` - Implement `AsMut[u8]` for `BytesMut` ### [`v0.4.4`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​044-May-26-2017) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.4.3...v0.4.4) - Add serde support behind feature flag - Add `extend_from_slice` on `Bytes` and `BytesMut` - Add `truncate` and `clear` on `Bytes` - Misc additional std trait implementations - Misc performance improvements ### [`v0.4.3`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​043-April-30-2017) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.4.2...v0.4.3) - Fix Vec::advance_mut bug - Bump minimum Rust version to 1.15 - Misc performance tweaks ### [`v0.4.2`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​042-April-5-2017) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.4.1...v0.4.2) - Misc performance tweaks - Improved `Debug` implementation for `Bytes` - Avoid some incorrect assert panics ### [`v0.4.1`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#​0412-March-6-2019) [Compare Source](https://github.com/tokio-rs/bytes/compare/v0.4.0...v0.4.1) ##### Added - Implement `FromIterator<&'a u8>` for `BytesMut`/`Bytes` ([#​244](https://github.com/tokio-rs/bytes/issues/244)). - Implement `Buf` for `VecDeque` ([#​249](https://github.com/tokio-rs/bytes/issues/249)). </details> <details> <summary>capnproto/capnproto-rust</summary> ### [`v0.18.1`](https://github.com/capnproto/capnproto-rust/compare/capnp-v0.18.0...capnp-v0.18.1) [Compare Source](https://github.com/capnproto/capnproto-rust/compare/capnp-v0.18.0...capnp-v0.18.1) ### [`v0.18.0`](https://github.com/capnproto/capnproto-rust/compare/capnpc-v0.17.2...capnpc-v0.18.0) [Compare Source](https://github.com/capnproto/capnproto-rust/compare/capnp-v0.17.2...capnp-v0.18.0) </details> <details> <summary>bheisler/criterion.rs</summary> ### [`v0.5.1`](https://github.com/bheisler/criterion.rs/blob/HEAD/CHANGELOG.md#​051---2023-05-26) [Compare Source](https://github.com/bheisler/criterion.rs/compare/0.5.0...0.5.1) ##### Fixed - Quick mode (--quick) no longer crashes with measured times over 5 seconds when --noplot is not active ### [`v0.5.0`](https://github.com/bheisler/criterion.rs/blob/HEAD/CHANGELOG.md#​050---2023-05-23) [Compare Source](https://github.com/bheisler/criterion.rs/compare/0.4.0...0.5.0) ##### Changed - Replaced lazy_static dependency with once_cell - Improved documentation of the `html_reports` feature - Replaced atty dependency with is-terminal - MSRV bumped to 1.64 - Upgraded clap dependency to v4 - Upgraded tempfile dependency to v3.5.0 ##### Fixed - Quick mode (`--quick`) no longer outputs 1ms for measured times over 5 seconds - Documentation updates </details> <details> <summary>tokio-rs/prost</summary> ### [`v0.12.1`](https://github.com/tokio-rs/prost/compare/v0.12.0...v0.12.1) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.12.0...v0.12.1) ### [`v0.12.0`](https://github.com/tokio-rs/prost/releases/tag/v0.12.0) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.11.9...v0.12.0) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. This patch updates brings a few new features and fixes: - Bump `syn` to version 2 - Bump MSRV to 1.64 - Added `TryFrom<i32>` for enums - Optional debug implementations - Initial generic `Any` and `Name` impl/traits. ### [`v0.11.9`](https://github.com/tokio-rs/prost/releases/tag/v0.11.9) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.11.8...v0.11.9) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. This patch updates brings a few new features and fixes: - build: Support boxing fields via `Config::boxed` ([#​802](https://github.com/tokio-rs/prost/pull/802)) ### [`v0.11.8`](https://github.com/tokio-rs/prost/releases/tag/v0.11.8) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.11.7...v0.11.8) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. This patch updates brings a few new features and fixes: - types: Fix unintentional change in compiler module visibility [#​824](https://github.com/tokio-rs/prost/pull/824) `prost-types` 0.11.7 was yanked due to the above unintentional semver breakage. ### [`v0.11.7`](https://github.com/tokio-rs/prost/compare/v0.11.6...v0.11.7) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.11.6...v0.11.7) ### [`v0.11.6`](https://github.com/tokio-rs/prost/releases/tag/v0.11.6) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.11.5...v0.11.6) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. This patch updates brings a few new features and fixes: - build: Add message and enum attributes (https://github.com/tokio-rs/prost/pull/784) ### [`v0.11.5`](https://github.com/tokio-rs/prost/releases/tag/v0.11.5) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.11.4...v0.11.5) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. This patch updates brings a few new features and fixes: - build: Allow file descriptor be generated without --include_source_info (https://github.com/tokio-rs/prost/pull/786) - build: Expose from_str_name for generated enums (https://github.com/tokio-rs/prost/pull/774) ### [`v0.11.4`](https://github.com/tokio-rs/prost/releases/tag/v0.11.4) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.11.3...v0.11.4) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. This patch updates brings a few new features and fixes: - build: Add clippy allow lint to all code generated prost structs ### [`v0.11.3`](https://github.com/tokio-rs/prost/releases/tag/v0.11.3) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.11.2...v0.11.3) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. This patch updates brings a few new features and fixes: - build: Use `log` to print error logs. - build: Remove accidentally included prints. - build: Improve debian error message hint. ### [`v0.11.2`](https://github.com/tokio-rs/prost/releases/tag/v0.11.2) [Compare Source](https://github.com/tokio-rs/prost/compare/prost-build-0.11.1...v0.11.2) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. This patch updates brings a few new features and fixes: - build: Improve `protoc` sourcing instructions in error messages. - build: Add `Clone` to `Service` types. - build: Sort modules to produce deterministic include files. - core: Tuple struct support. - build: Allow generated code derive path's to be changed. - build: Allow changing prost crate path. - build: Add code formatting support. ### [`v0.11.1`](https://github.com/tokio-rs/prost/releases/tag/prost-build-0.11.1): prost-build-v0.11.1 [Compare Source](https://github.com/tokio-rs/prost/compare/v0.11.0...prost-build-0.11.1) - Removes extra spaces in doc generation ### [`v0.11.0`](https://github.com/tokio-rs/prost/releases/tag/v0.11.0) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.10.4...v0.11.0) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. Relase 0.11 brings a few breaking changes and changes to how prost sources protoc. - `prost-build` now requires `protoc` to be available in the path or set via the `PROTOC` env var. - `prost-types` now contains new `Timestamp`/`Duration` `FromStr` implementations. - MSRV bump to `1.56` and all crates have been moved to edition 2021 Notible changes that are not breaking: - `prost-build` now has a `cleanup-markdown` feature for cleaining up code blocks from protobuf files so that they work under rustdoc tests. - `prost-build` now generates `as_str_name` for message types. ### [`v0.10.4`](https://github.com/tokio-rs/prost/releases/tag/v0.10.4) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.10.3...v0.10.4) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. Small fix for compiling protoc from source to speed up compile times. ### [`v0.10.3`](https://github.com/tokio-rs/prost/releases/tag/v0.10.3) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.10.2...v0.10.3) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. This release reverts [#​605](https://github.com/tokio-rs/prost/issues/605) and contains some typo fixes. (this release is actually the `v0.10.2` release but `prost-build` had to be yanked because of a local publish issue) ### [`v0.10.2`](https://github.com/tokio-rs/prost/releases/tag/v0.10.2) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.10.1...v0.10.2) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. This release reverts [#​605](https://github.com/tokio-rs/prost/issues/605) and contains some typo fixes. (this release was yanked due to missing third-party source, `v0.10.3` is now the active release for this) ### [`v0.10.1`](https://github.com/tokio-rs/prost/releases/tag/v0.10.1) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.10.0...v0.10.1) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. This minor release brings no new code changes but symlinks license files in all the crates. ### [`v0.10.0`](https://github.com/tokio-rs/prost/releases/tag/v0.10.0) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.9.0...v0.10.0) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. Release 0.10 brings a few new .... - `protoc` is no longer bundled but is now compiled from bundled source - Minor performance improvements - Methods exposed to allow third party protobuf generation libraries ### [`v0.9.0`](https://github.com/tokio-rs/prost/releases/tag/v0.9.0) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.8.0...v0.9.0) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. Release 0.9.0 brings in many helpful changes and fixes, here are a few highlights: - Apple silicon support - Improve encode/decode varint performance - Support no package declaration - Support single include files - Fix multiple attribute support ### [`v0.8.0`](https://github.com/tokio-rs/prost/releases/tag/v0.8.0) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.7.0...v0.8.0) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. *NOTE: This version contains a security fix for `prost-types` and is recommend that you upgrade to it from <0.7.* `prost` 0.8.0 includes breaking changes: - `Timestamp`'s `From` implementation for converting into `SystemTime` has been converted to a fallible `TryFrom` implementation. - `prost-build`'s `compile_protos` now takes `impl AsRef<Path>` to allow each parameter to use its own generic type. - Bundled `protoc` version bumped to `3.15.8` As well as many new (non-breaking) changes: - [@​pluth](https://github.com/pluth) enabled zero-copy support for `Bytes` based fields. - [@​sfackler](https://github.com/sfackler) for fixing message optionals and oneofs in `prost-build`. - [@​rubdos](https://github.com/rubdos) for adding the ability to encode prost messages directly to a `Vec<u8>`. and numerous smaller fixes. Many thanks to the generous contributors who have helped out since 0.7: - [@​dfreese](https://github.com/dfreese) - [@​carols10cents](https://github.com/carols10cents) - [@​pluth](https://github.com/pluth) - [@​jfornoff](https://github.com/jfornoff) - [@​sphw](https://github.com/sphw) - [@​bpowers](https://github.com/bpowers) - [@​sfackler](https://github.com/sfackler) - [@​koushiro](https://github.com/koushiro) - [@​dbrgn](https://github.com/dbrgn) - [@​argv-minus-one](https://github.com/argv-minus-one) - [@​nagisa](https://github.com/nagisa) - [@​evanj](https://github.com/evanj) - [@​aquarhead](https://github.com/aquarhead) ### [`v0.7.0`](https://github.com/tokio-rs/prost/releases/tag/v0.7.0) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.6.1...v0.7.0) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. `prost` 0.7.0 includes breaking changes: - The minimum-supported Rust version (MSRV) is now 1.46.0. - The `bytes` public dependency version is now 1.0. - The bundled `protoc` version is now 3.14.0. As well as many new (non-breaking) features and improvements: - [@​hockeybuggy](https://github.com/hockeybuggy) added support for `deprecated` field annotations. - [@​garbageslam](https://github.com/garbageslam) and [@​dflemstr](https://github.com/dflemstr) added `no_std` support. - [@​joseph-wakeling-frequenz](https://github.com/joseph-wakeling-frequenz) fixed a bug in Timestamp <-> SystemTime conversions. - [@​rolftimmermans](https://github.com/rolftimmermans) added support for generating Rust `bytes::Bytes` fields from protobuf `bytes` fields. When deserializing from a `Bytes` instance, this enables zero-copy deserialization for `bytes` fields! - [@​olix0r](https://github.com/olix0r) bumped the `bytes` dependency to 0.6, which included most of the heavy lifting for the subsequent move to `bytes` 1.0. - [@​danburkert](https://github.com/danburkert) added support for the experimental proto3 optional field presence feature. and numerous smaller fixes. Many thanks to the generous contributors who have helped out since 0.6.1: - M@ Dunlap - [@​Max-Meldrum](https://github.com/Max-Meldrum) - [@​Veetaha](https://github.com/Veetaha) - [@​dan-fritchman](https://github.com/dan-fritchman) - [@​danburkert](https://github.com/danburkert) - [@​dflemstr](https://github.com/dflemstr) - [@​dfreese](https://github.com/dfreese) - [@​gabrielrussoc](https://github.com/gabrielrussoc) - [@​garbageslam](https://github.com/garbageslam) - [@​hockeybuggy](https://github.com/hockeybuggy) - [@​jen20](https://github.com/jen20) - [@​joseph-wakeling-frequenz](https://github.com/joseph-wakeling-frequenz) - [@​olix0r](https://github.com/olix0r) - [@​oll3](https://github.com/oll3) - [@​repi](https://github.com/repi) - [@​rolftimmermans](https://github.com/rolftimmermans) - [@​vorot93](https://github.com/vorot93) - [@​wchargin](https://github.com/wchargin) ### [`v0.6.1`](https://github.com/tokio-rs/prost/releases/tag/v0.6.1) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.6.0...v0.6.1) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. `prost` 0.6.1 fixes a bug in which decoding untrusted input could overflow the stack. The bug was reported by [@​dbrgn](https://github.com/dbrgn) in [#​267](https://github.com/tokio-rs/prost/issues/267) (with an attached repro!), and fixed by [@​danburkert](https://github.com/danburkert). The fix extended the same recursion limits introduced in [#​186](https://github.com/tokio-rs/prost/issues/186) by [@​nrc](https://github.com/nrc) (released in 0.6.0) to the logic which skips unknown fields during decoding, which became recursive when support was added for decoding groups (also released in 0.6.0). The 0.6.0 release of the `prost` crates has been yanked from crates.io. Additionally, [@​koushiro](https://github.com/koushiro) updated the private dependencies of all `prost` crates to the latest versions. Many thanks to the generous contributors who have helped out since 0.6.0: - Dan Burkert - Danilo Bargen - Qinxuan Chen ### [`v0.6.0`](https://github.com/tokio-rs/prost/releases/tag/v0.6.0) [Compare Source](https://github.com/tokio-rs/prost/compare/v0.5.0...v0.6.0) *PROST!* is a [Protocol Buffers](https://developers.google.com/protocol-buffers/) implementation for the [Rust Language](https://www.rust-lang.org/). `prost` generates simple, idiomatic Rust code from `proto2` and `proto3` files. `prost` 0.6.0 includes breaking changes: - The minimum-supported Rust version (MSRV) is now 1.39.0. - The `bytes` public dependency version is now `0.5`. - The prost-types `Timestamp` and `Duration` types now impl `TryFrom` for their `std::time` equivalents. The old inherent `try_from` methods have been removed. - Deeply nested messages now fail decoding with an error, instead of potentially resulting in a stack overflow. The limit is set to a nesting depth of 100, and the limit can be disabled using a new `no-recursion-limit` Cargo feature. As well as many new (non-breaking) features and improvements: - [@​hanya](https://github.com/hanya) added support for protobuf Group types. - [@​danburkert](https://github.com/danburkert) improved the benchmark suite, including adding support for the full set of upstream message encoding and decoding benchmarks. - [@​nrc](https://github.com/nrc) implemented a series of micro-optimizations which result in faster message encoding and decoding. - [@​dunmatt](https://github.com/dunmatt) improved the method docs on generated types. - [@​lukaslueg](https://github.com/lukaslueg) removed the dependency on `byteorder`. - [@​parasyte](https://github.com/parasyte) added the `ServiceGenerator::finalize_package`, which is useful for advanced service generators. - [@​joelgallant](https://github.com/joelgallant) improved the error message that occurs when attempting to compile .proto files without a package specifier. - [@​LucioFranco](https://github.com/LucioFranco) removed the direct dependency of generated types on the `bytes` crate, which means applications which use `prost` code generation are no longer required to declare a `bytes` dependency. - [@​ErichDonGubler](https://github.com/ErichDonGubler) and [@​hobofan](https://github.com/hobofan) bumped the `syn`, `quote`, and `proc-macro2` to stable versions. - [@​Timmmm](https://github.com/Timmmm) improved `prost-build` so that it no longer writes .rs files when they are unchanged, which improves working with tools like `cargo watch` in codebases with `prost` code generation. - [@​Hirevo](https://github.com/Hirevo) replaced usage of `failure` with `anyhow`. - [@​danburkert](https://github.com/danburkert) bumped the packaged `protoc` version to 3.11.2. Many thanks to the generous contributors who have helped out since 0.5.0: - Dan Burkert - Erich Gubler - FujiApple - Hanya - Jay Oster - Joel Gallant - koushiro - Lucio Franco - Luffbee - lukaslueg - M@ Dunlap - Maximilian Goisser - Mikhail Zabaluev - Nick Cameron - Nicolas Polomack - Stephan Wolski - Tim Hutt </details> <details> <summary>serde-rs/serde</summary> ### [`v1.0.188`](https://github.com/serde-rs/serde/releases/tag/v1.0.188) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.187...v1.0.188) - Fix *"failed to parse manifest"* error when building serde using a Cargo version between 1.45 and 1.50 ([#​2603](https://github.com/serde-rs/serde/issues/2603)) ### [`v1.0.187`](https://github.com/serde-rs/serde/releases/tag/v1.0.187) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.186...v1.0.187) - Remove support for Emscripten targets on rustc older than 1.40 ([#​2600](https://github.com/serde-rs/serde/issues/2600)) ### [`v1.0.186`](https://github.com/serde-rs/serde/releases/tag/v1.0.186) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.185...v1.0.186) - Disallow incompatible versions of `serde_derive` and `serde` in the dependency graph ([#​2588](https://github.com/serde-rs/serde/issues/2588), thanks [@​soqb](https://github.com/soqb)) ### [`v1.0.185`](https://github.com/serde-rs/serde/releases/tag/v1.0.185) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.184...v1.0.185) - Fix error *"cannot move out of `*self` which is behind a shared reference"* deriving Serialize on a non_exhaustive enum ([#​2591](https://github.com/serde-rs/serde/issues/2591)) ### [`v1.0.184`](https://github.com/serde-rs/serde/releases/tag/v1.0.184) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.183...v1.0.184) - Restore from-source `serde_derive` build on all platforms — eventually we'd like to use a first-class precompiled macro if such a thing becomes supported by cargo / crates.io ### [`v1.0.183`](https://github.com/serde-rs/serde/releases/tag/v1.0.183) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.182...v1.0.183) - Support deserializing `Box<OsStr>` with an equivalent representation as `OsString` ([#​2556](https://github.com/serde-rs/serde/issues/2556), thanks [@​DBLouis](https://github.com/DBLouis)) ### [`v1.0.182`](https://github.com/serde-rs/serde/releases/tag/v1.0.182) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.181...v1.0.182) - Render field aliases in sorted order in error messages ([#​2458](https://github.com/serde-rs/serde/issues/2458), thanks [@​Mingun](https://github.com/Mingun)) - Support `serde(default)` on tuple structs ([#​2553](https://github.com/serde-rs/serde/issues/2553), thanks [@​Mingun](https://github.com/Mingun)) ### [`v1.0.181`](https://github.com/serde-rs/serde/releases/tag/v1.0.181) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.180...v1.0.181) - Make `serde(alias)` work in combination with `flatten` when using in-place deserialization ([#​2443](https://github.com/serde-rs/serde/issues/2443), thanks [@​Mingun](https://github.com/Mingun)) - Improve the representation of adjacently tagged enums in formats where enum tags are serialized by index, as opposed to by string name ([#​2505](https://github.com/serde-rs/serde/issues/2505), [#​2496](https://github.com/serde-rs/serde/issues/2496), thanks [@​Baptistemontan](https://github.com/Baptistemontan)) ### [`v1.0.180`](https://github.com/serde-rs/serde/releases/tag/v1.0.180) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.179...v1.0.180) - Update to 2018 edition ### [`v1.0.179`](https://github.com/serde-rs/serde/releases/tag/v1.0.179) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.178...v1.0.179) - Support serialization of tuple variants inside a flattened field ([#​2448](https://github.com/serde-rs/serde/issues/2448), thanks [@​Mingun](https://github.com/Mingun)) ### [`v1.0.178`](https://github.com/serde-rs/serde/releases/tag/v1.0.178) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.177...v1.0.178) - Fix build error when using serde with "std" feature turned off and "unstable" feature turned on ([#​2541](https://github.com/serde-rs/serde/issues/2541)) ### [`v1.0.177`](https://github.com/serde-rs/serde/releases/tag/v1.0.177) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.176...v1.0.177) - Add `serde(rename_all_fields = "...")` attribute to apply a `rename_all` on every struct variant of an enum ([#​1695](https://github.com/serde-rs/serde/issues/1695), thanks [@​jplatte](https://github.com/jplatte)) - Improve diagnostics for attribute parse errors ([#​2536](https://github.com/serde-rs/serde/issues/2536), thanks [@​jplatte](https://github.com/jplatte)) ### [`v1.0.176`](https://github.com/serde-rs/serde/releases/tag/v1.0.176) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.175...v1.0.176) - Allow tag field of an internally tagged enum to have same name as a field inside a skipped struct variant ([#​2266](https://github.com/serde-rs/serde/issues/2266), thanks [@​flisky](https://github.com/flisky)) ### [`v1.0.175`](https://github.com/serde-rs/serde/releases/tag/v1.0.175) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.174...v1.0.175) - Restore missing LICENSE files in serde_derive crate ([#​2527](https://github.com/serde-rs/serde/issues/2527), thanks [@​ankane](https://github.com/ankane)) ### [`v1.0.174`](https://github.com/serde-rs/serde/releases/tag/v1.0.174) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.173...v1.0.174) - Documentation improvements ### [`v1.0.173`](https://github.com/serde-rs/serde/releases/tag/v1.0.173) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.172...v1.0.173) - Fix missing trait implementations when using serde derive macro on a macro-generated data structure, such as via the `bitflags` crate ([#​2516](https://github.com/serde-rs/serde/issues/2516)) ### [`v1.0.172`](https://github.com/serde-rs/serde/releases/tag/v1.0.172) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.172) - Experiment with precompiling the serde_derive macros to reduce build time ([#​2514](https://github.com/serde-rs/serde/issues/2514)) ### [`v1.0.171`](https://github.com/serde-rs/serde/releases/tag/v1.0.171) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.170...v1.0.171) - Support `derive(Deserialize)` on unit structs that have const generics ([#​2500](https://github.com/serde-rs/serde/issues/2500), thanks [@​Baptistemontan](https://github.com/Baptistemontan)) ### [`v1.0.170`](https://github.com/serde-rs/serde/releases/tag/v1.0.170) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.169...v1.0.170) - Produce error message on suffixed string literals inside serde attributes ([#​2242](https://github.com/serde-rs/serde/issues/2242)) - Support single identifier as unbraced default value for const generic parameter ([#​2449](https://github.com/serde-rs/serde/issues/2449)) ### [`v1.0.169`](https://github.com/serde-rs/serde/releases/tag/v1.0.169) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.168...v1.0.169) - Add Deserializer::deserialize_identifier support for adjacently tagged enums ([#​2475](https://github.com/serde-rs/serde/issues/2475), thanks [@​Baptistemontan](https://github.com/Baptistemontan)) - Fix unused_braces lint in generated Deserialize impl that uses braced const generic expressions ([#​2414](https://github.com/serde-rs/serde/issues/2414)) ### [`v1.0.168`](https://github.com/serde-rs/serde/releases/tag/v1.0.168) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.167...v1.0.168) - Allow `serde::de::IgnoredAny` to be the type for a `serde(flatten)` field ([#​2436](https://github.com/serde-rs/serde/issues/2436), thanks [@​Mingun](https://github.com/Mingun)) - Allow larger preallocated capacity for smaller elements ([#​2494](https://github.com/serde-rs/serde/issues/2494)) ### [`v1.0.167`](https://github.com/serde-rs/serde/releases/tag/v1.0.167) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.166...v1.0.167) - Add serialize and deserialize impls for `RangeFrom` and `RangeTo` ([#​2471](https://github.com/serde-rs/serde/issues/2471), thanks [@​tbu-](https://github.com/tbu-)) ### [`v1.0.166`](https://github.com/serde-rs/serde/releases/tag/v1.0.166) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.165...v1.0.166) - Add `no-alloc` category to crates.io metadata ### [`v1.0.165`](https://github.com/serde-rs/serde/releases/tag/v1.0.165) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.164...v1.0.165) - Fix incorrect count of fields passed to tuple deserialization methods when using `serde(skip_deserializing)` attributes ([#​2466](https://github.com/serde-rs/serde/issues/2466), thanks [@​Mingun](https://github.com/Mingun)) - Fix `-Zminimal-versions` build ### [`v1.0.164`](https://github.com/serde-rs/serde/releases/tag/v1.0.164) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.163...v1.0.164) - Allowed enum variants to be individually marked as untagged ([#​2403](https://github.com/serde-rs/serde/issues/2403), thanks [@​dewert99](https://github.com/dewert99)) ### [`v1.0.163`](https://github.com/serde-rs/serde/releases/tag/v1.0.163) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.162...v1.0.163) - Eliminate build script from serde_derive crate to slightly reduce build time ([#​2442](https://github.com/serde-rs/serde/issues/2442), thanks [@​taiki-e](https://github.com/taiki-e)) ### [`v1.0.162`](https://github.com/serde-rs/serde/releases/tag/v1.0.162) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.161...v1.0.162) - Support deserializing flattened adjacently tagged enums from data formats which represent fields as bytes, such as the `csv` crate ([#​2377](https://github.com/serde-rs/serde/issues/2377), thanks [@​mfro](https://github.com/mfro)) ```rust #[derive(Deserialize)] pub struct Record { common: u64, #[serde(flatten)] kind: Kind, } #[derive(Deserialize)] #[serde(tag = "kind", content = "parameter", rename_all = "lowercase")] enum Kind { Foo(u64), Bar(bool), } ``` ```csv common,kind,parameter 1,foo,42 2,bar,true ``` ### [`v1.0.161`](https://github.com/serde-rs/serde/releases/tag/v1.0.161) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.160...v1.0.161) - Improve error messages produced by serde_test on test failure ([#​2435](https://github.com/serde-rs/serde/issues/2435), thanks [@​Mingun](https://github.com/Mingun)) ### [`v1.0.160`](https://github.com/serde-rs/serde/releases/tag/v1.0.160) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.159...v1.0.160) - Make derived serializer/deserializer internals `doc(hidden)` ([#​2426](https://github.com/serde-rs/serde/issues/2426), thanks [@​compiler-errors](https://github.com/compiler-errors)) ### [`v1.0.159`](https://github.com/serde-rs/serde/releases/tag/v1.0.159) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.158...v1.0.159) - Accept empty #\[serde()] attribute ([#​2422](https://github.com/serde-rs/serde/issues/2422)) ### [`v1.0.158`](https://github.com/serde-rs/serde/releases/tag/v1.0.158) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.157...v1.0.158) - Fix *"expected serde crate attribute to be a string"* error when using macro_rules metavariable inside of serde attribute: `#[serde(crate = $serde_path)]` ([#​2409](https://github.com/serde-rs/serde/issues/2409)) ### [`v1.0.157`](https://github.com/serde-rs/serde/releases/tag/v1.0.157) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.156...v1.0.157) - Update syn dependency to 2.x ### [`v1.0.156`](https://github.com/serde-rs/serde/releases/tag/v1.0.156) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.155...v1.0.156) - Documentation improvements ### [`v1.0.155`](https://github.com/serde-rs/serde/releases/tag/v1.0.155) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.154...v1.0.155) - Support `Serialize` and `Deserialize` impls for `core::ffi::CStr` and `alloc::ffi::CString` without "std" feature ([#​2374](https://github.com/serde-rs/serde/issues/2374), thanks [@​safarir](https://github.com/safarir)) ### [`v1.0.154`](https://github.com/serde-rs/serde/releases/tag/v1.0.154) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.153...v1.0.154) - Fix "undeclared lifetime" error in generated code when deriving Deserialize for an enum with both `flatten` and `'static` fields ([#​2383](https://github.com/serde-rs/serde/issues/2383), thanks [@​Mingun](https://github.com/Mingun)) ### [`v1.0.153`](https://github.com/serde-rs/serde/releases/tag/v1.0.153) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.153) - Support `serde(alias = "…")` attribute used inside of flattened struct ([#​2387](https://github.com/serde-rs/serde/issues/2387), thanks [@​bebecue](https://github.com/bebecue)) ### [`v1.0.152`](https://github.com/serde-rs/serde/releases/tag/v1.0.152) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.151...v1.0.152) - Documentation improvements ### [`v1.0.151`](https://github.com/serde-rs/serde/releases/tag/v1.0.151) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.150...v1.0.151) - Update `serde::`{`ser`,`de`}`::StdError` to re-export `core::error::Error` when serde is built with `feature="std"` **off** and `feature="unstable"` **on** ([#​2344](https://github.com/serde-rs/serde/issues/2344)) ### [`v1.0.150`](https://github.com/serde-rs/serde/releases/tag/v1.0.150) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.149...v1.0.150) - Relax some trait bounds from the `Serialize` impl of `HashMap` and `BTreeMap` ([#​2334](https://github.com/serde-rs/serde/issues/2334)) - Enable `Serialize` and `Deserialize` impls of `std::sync::atomic` types on more platforms ([#​2337](https://github.com/serde-rs/serde/issues/2337), thanks [@​badboy](https://github.com/badboy)) ### [`v1.0.149`](https://github.com/serde-rs/serde/releases/tag/v1.0.149) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.148...v1.0.149) - Relax some trait bounds from the `Serialize` impl of `BinaryHeap`, `BTreeSet`, and `HashSet` ([#​2333](https://github.com/serde-rs/serde/issues/2333), thanks [@​jonasbb](https://github.com/jonasbb)) ### [`v1.0.148`](https://github.com/serde-rs/serde/releases/tag/v1.0.148) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.147...v1.0.148) - Support `remote` derive for generic types that have private fields ([#​2327](https://github.com/serde-rs/serde/issues/2327)) ### [`v1.0.147`](https://github.com/serde-rs/serde/releases/tag/v1.0.147) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.146...v1.0.147) - Add `serde::de::value::EnumAccessDeserializer` which transforms an `EnumAccess` into a `Deserializer` ([#​2305](https://github.com/serde-rs/serde/issues/2305)) ### [`v1.0.146`](https://github.com/serde-rs/serde/releases/tag/v1.0.146) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.145...v1.0.146) - Allow internally tagged newtype variant to contain unit ([#​2303](https://github.com/serde-rs/serde/issues/2303), thanks [@​tage64](https://github.com/tage64)) ### [`v1.0.145`](https://github.com/serde-rs/serde/releases/tag/v1.0.145) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.144...v1.0.145) - Allow RefCell\<T>, Mutex\<T>, and RwLock\<T> to be serialized regardless of whether T is `Sized` ([#​2282](https://github.com/serde-rs/serde/issues/2282), thanks [@​ChayimFriedman2](https://github.com/ChayimFriedman2)) ### [`v1.0.144`](https://github.com/serde-rs/serde/releases/tag/v1.0.144) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.143...v1.0.144) - Change atomic ordering used by Serialize impl of atomic types to match ordering used by Debug impl of those same types ([#​2263](https://github.com/serde-rs/serde/issues/2263), thanks [@​taiki-e](https://github.com/taiki-e)) ### [`v1.0.143`](https://github.com/serde-rs/serde/releases/tag/v1.0.143) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.142...v1.0.143) - Invert build.rs cfgs in serde_test to produce the most modern configuration in the default case ([#​2253](https://github.com/serde-rs/serde/issues/2253), thanks [@​taiki-e](https://github.com/taiki-e)) ### [`v1.0.142`](https://github.com/serde-rs/serde/releases/tag/v1.0.142) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.141...v1.0.142) - Add keywords to crates.io metadata ### [`v1.0.141`](https://github.com/serde-rs/serde/releases/tag/v1.0.141) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.140...v1.0.141) - Add `no-std` category to crates.io metadata ### [`v1.0.140`](https://github.com/serde-rs/serde/releases/tag/v1.0.140) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.139...v1.0.140) - Invert serde_derive cfgs to convenience non-Cargo builds on a modern toolchain ([#​2251](https://github.com/serde-rs/serde/issues/2251), thanks [@​taiki-e](https://github.com/taiki-e)) ### [`v1.0.139`](https://github.com/serde-rs/serde/releases/tag/v1.0.139) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.138...v1.0.139) - Add `new` constructor function for all `IntoDeserializer` impls ([#​2246](https://github.com/serde-rs/serde/issues/2246)) ### [`v1.0.138`](https://github.com/serde-rs/serde/releases/tag/v1.0.138) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.137...v1.0.138) - Documentation improvements ### [`v1.0.137`](https://github.com/serde-rs/serde/releases/tag/v1.0.137) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.136...v1.0.137) - Update documentation links to some data formats whose repos have moved ([#​2201](https://github.com/serde-rs/serde/issues/2201), thanks [@​atouchet](https://github.com/atouchet)) - Fix declared `rust-version` of serde and serde_test ([#​2168](https://github.com/serde-rs/serde/issues/2168)) ### [`v1.0.136`](https://github.com/serde-rs/serde/releases/tag/v1.0.136) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.135...v1.0.136) - Improve default error message when `Visitor` fails to deserialize a u128 or i128 ([#​2167](https://github.com/serde-rs/serde/issues/2167)) ### [`v1.0.135`](https://github.com/serde-rs/serde/releases/tag/v1.0.135) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.134...v1.0.135) - Update discord channels listed in readme ### [`v1.0.134`](https://github.com/serde-rs/serde/releases/tag/v1.0.134) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.133...v1.0.134) - Improve error messages on deserializing NonZero integers from a 0 value ([#​2158](https://github.com/serde-rs/serde/issues/2158)) ### [`v1.0.133`](https://github.com/serde-rs/serde/releases/tag/v1.0.133) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.132...v1.0.133) - Optimize deserialization of data structures that contain recursive use of `flatten` fields or `tag` or `untagged` enums ([#​2148](https://github.com/serde-rs/serde/issues/2148)) ### [`v1.0.132`](https://github.com/serde-rs/serde/releases/tag/v1.0.132) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.132) - Enable Serialize and Deserialize impls for `std::sync::atomic::{AtomicI64, AtomicU64}` on riscv64 arch ([#​2141](https://github.com/serde-rs/serde/issues/2141), thanks [@​Avimitin](https://github.com/Avimitin)) ### [`v1.0.131`](https://github.com/serde-rs/serde/releases/tag/v1.0.131) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.130...v1.0.131) - Avoid `unused_results` being triggered in generated code for adjacently tagged enum ([#​2116](https://github.com/serde-rs/serde/issues/2116), thanks [@​tyranron](https://github.com/tyranron)) ### [`v1.0.130`](https://github.com/serde-rs/serde/releases/tag/v1.0.130) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.129...v1.0.130) - Provide `MapAccess` and `SeqAccess` impl for reference to a dynamically sized existing impl ([#​2081](https://github.com/serde-rs/serde/issues/2081)) ### [`v1.0.129`](https://github.com/serde-rs/serde/releases/tag/v1.0.129) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.128...v1.0.129) - Support deserialization of remote structs that used packed repr ([#​2078](https://github.com/serde-rs/serde/issues/2078), [#​2079](https://github.com/serde-rs/serde/issues/2079), [#​2080](https://github.com/serde-rs/serde/issues/2080)) ### [`v1.0.128`](https://github.com/serde-rs/serde/releases/tag/v1.0.128) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.127...v1.0.128) - Enable 128-bit integers on emscripten in Rust 1.40+ ([#​2076](https://github.com/serde-rs/serde/issues/2076), thanks [@​Manishearth](https://github.com/Manishearth)) ### [`v1.0.127`](https://github.com/serde-rs/serde/releases/tag/v1.0.127) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.126...v1.0.127) - Resolve warning in rustc nightly-2021-07-31+ compiling serde_test ### [`v1.0.126`](https://github.com/serde-rs/serde/releases/tag/v1.0.126) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.125...v1.0.126) - Resolve conflict with `forbid(future_incompatible)` lint setting in generated code ([#​2026](https://github.com/serde-rs/serde/issues/2026), thanks [@​hyd-dev](https://github.com/hyd-dev)) ### [`v1.0.125`](https://github.com/serde-rs/serde/releases/tag/v1.0.125) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.124...v1.0.125) - Improve performance of serializing `Ipv4Addr` ([#​2001](https://github.com/serde-rs/serde/issues/2001), thanks [@​saethlin](https://github.com/saethlin)) ### [`v1.0.124`](https://github.com/serde-rs/serde/releases/tag/v1.0.124) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.123...v1.0.124) - Fix possible panic deserializing invalid data as `SystemTime` ([#​1997](https://github.com/serde-rs/serde/issues/1997), thanks [@​cyang1](https://github.com/cyang1)) ### [`v1.0.123`](https://github.com/serde-rs/serde/releases/tag/v1.0.123) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.122...v1.0.123) - Support `Self` keywords in fields of types that derive Deserialize ([#​1830](https://github.com/serde-rs/serde/issues/1830), thanks [@​taiki-e](https://github.com/taiki-e)) - Allow floats to be deserialized from ints in tagged unions ([#​1842](https://github.com/serde-rs/serde/issues/1842), thanks [@​Timmmm](https://github.com/Timmmm)) - Support `Self` inside fields that use serialize_with ([#​1970](https://github.com/serde-rs/serde/issues/1970)) ### [`v1.0.122`](https://github.com/serde-rs/serde/releases/tag/v1.0.122) [Compare Source](https://github.com/serde-rs/serde/compare/v1.0.121...v1.0.122) - Add IntoDeserializer impl for &\[u8] ([#​1898](https://github.com/serde-rs/serde/issues/1898), thanks [@​Mingun](https://github.com/Mingun)) - Handle unrecognized numeric field keys during deserialization of a field_identifier, equivalently to string field keys ([#​1914](https://github.com/serde-rs/serde/issues/1914), thanks [@​Mingun](https://github.com/Mingun)) - Add attribute to override default deserialization failure expectation message ([#​1916](https://github.com/serde-rs/serde/issues/1916), thanks [@​Mingun](https://github.com/Mingun)) ```rust #[derive(Deserialize)] #[serde(untagged, expecting = "single version or array of versions")] struct VersionSpec { One(Version), Many(Vec<Version>), } ``` - Improve `serde_test` handling of map entries and error message construction ([#​1918](https://github.com/serde-rs/serde/issues/1918), thanks [@​Mingun](https://github.com/Mingun)) - Produce more accurate location information on test failures from `serde_test` crate ([#​1920](https://github.com/serde-rs/serde/issues/1920), thanks [@​Mingun](https://github.com/Mingun)) - Improve diagnostic on failure to parse a `rename_all` attribute ([#​1960](https://github.com/serde-rs/serde/issues/1960), [#​1961](https://github.com/serde-rs/serde/issues/1961)) - Eliminate unnecessary trait bounds on some value Deserializer impls ([#​1963](https://github.com/serde-rs/serde/issues/1963)) ### [`v1.0.121`](https://github.com/serd…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #1923. Closes #1928.