Release notes
*Sourced from [serde_derive's releases](https://github.com/serde-rs/serde/releases).*
> ## v1.0.99
> - Update Syn dependency to 1.0.
>
> *Note: This raises the minimum required compiler version for serde_derive from rustc 1.15 to rustc 1.31. The minimum required compiler version for serde remains at rustc 1.13.*
>
> ## v1.0.98
> - Add support for NonZeroI* types ([#1589](https://github-redirect.dependabot.com/serde-rs/serde/issues/1589), thanks [@Flaise](https://github.com/Flaise))
>
> ## v1.0.97
> - Introduce `serde(try_from = "...")` attribute to derive Deserialize based on a given implementation of [`std::convert::TryFrom`](https://doc.rust-lang.org/std/convert/trait.TryFrom.html) ([#1526](https://github-redirect.dependabot.com/serde-rs/serde/issues/1526), thanks [@fanzeyi](https://github.com/fanzeyi))
>
> ```rust
> #[derive(Deserialize)]
> #[serde(try_from = "u32")]
> enum N {
> Zero,
> One,
> Two,
> }
>
> impl TryFrom for N {
> type Error = String;
>
> fn try_from(u: u32) -> Result {
> match u {
> 0 => Ok(Self::Zero),
> 1 => Ok(Self::One),
> 2 => Ok(Self::Two),
> other => Err(format!("out of range: {}", other)),
> }
> }
> }
> ```
>
> ## v1.0.96
> - Implement serialization and deserialization for std::sync::atomic types ([#1572](https://github-redirect.dependabot.com/serde-rs/serde/issues/1572) and [#1581](https://github-redirect.dependabot.com/serde-rs/serde/issues/1581), thanks [@Roguelazer](https://github.com/Roguelazer))
> - Make "alloc" feature work on stable Rust 1.36+ ([#1576](https://github-redirect.dependabot.com/serde-rs/serde/issues/1576), thanks [@c410-f3r](https://github.com/c410-f3r))
>
> ## v1.0.95
> *yanked*
Commits
- [`192f5cd`](https://github.com/serde-rs/serde/commit/192f5cd647dfb67bfd6158e7234c78c95894c071) Release 1.0.99
- [`7dceee6`](https://github.com/serde-rs/serde/commit/7dceee64fe08744dbec1bab67c8a1d1206c29852) Merge pull request [#1591](https://github-redirect.dependabot.com/serde-rs/serde/issues/1591) from dtolnay/up
- [`8ad6ae7`](https://github.com/serde-rs/serde/commit/8ad6ae71c671e744c239844a4715833f1081dfc3) Update serde_derive minimum rustc version to 1.31
- [`3ea85a2`](https://github.com/serde-rs/serde/commit/3ea85a28cfbfbcad764e28cdedb34d27ea3bd926) Update to syn/quote 1.0
- [`273ecdb`](https://github.com/serde-rs/serde/commit/273ecdb786d3503135761e65a8468546b3f8e299) Update ui tests on nightly-2019-08-16
- [`de40eb7`](https://github.com/serde-rs/serde/commit/de40eb7306749fa6e47ed8ba52514a11afe8a880) Update serde_derive to use question mark
- [`b9c4407`](https://github.com/serde-rs/serde/commit/b9c44073ce0294f16a379a265388c4f6885af01b) Update serde_test to use question mark
- [`d6e5947`](https://github.com/serde-rs/serde/commit/d6e5947ad219ebb5fc1518bd99605bb38bb51da3) Suppress warnings about try! macro
- [`668651e`](https://github.com/serde-rs/serde/commit/668651ee01a6b8df0b28e653740776ba4c1aa4c4) Format with rustfmt 2019-07-30
- [`fb1cacc`](https://github.com/serde-rs/serde/commit/fb1cacc10e7305dc31119cbbc43fb9078c29432b) Update Attr structs to hold symbols
- Additional commits viewable in [compare view](https://github.com/serde-rs/serde/compare/v1.0.94...v1.0.99)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps serde_derive from 1.0.94 to 1.0.99.
Release notes
*Sourced from [serde_derive's releases](https://github.com/serde-rs/serde/releases).* > ## v1.0.99 > - Update Syn dependency to 1.0. > > *Note: This raises the minimum required compiler version for serde_derive from rustc 1.15 to rustc 1.31. The minimum required compiler version for serde remains at rustc 1.13.* > > ## v1.0.98 > - Add support for NonZeroI* types ([#1589](https://github-redirect.dependabot.com/serde-rs/serde/issues/1589), thanks [@Flaise](https://github.com/Flaise)) > > ## v1.0.97 > - Introduce `serde(try_from = "...")` attribute to derive Deserialize based on a given implementation of [`std::convert::TryFrom`](https://doc.rust-lang.org/std/convert/trait.TryFrom.html) ([#1526](https://github-redirect.dependabot.com/serde-rs/serde/issues/1526), thanks [@fanzeyi](https://github.com/fanzeyi)) > > ```rust > #[derive(Deserialize)] > #[serde(try_from = "u32")] > enum N { > Zero, > One, > Two, > } > > impl TryFromCommits
- [`192f5cd`](https://github.com/serde-rs/serde/commit/192f5cd647dfb67bfd6158e7234c78c95894c071) Release 1.0.99 - [`7dceee6`](https://github.com/serde-rs/serde/commit/7dceee64fe08744dbec1bab67c8a1d1206c29852) Merge pull request [#1591](https://github-redirect.dependabot.com/serde-rs/serde/issues/1591) from dtolnay/up - [`8ad6ae7`](https://github.com/serde-rs/serde/commit/8ad6ae71c671e744c239844a4715833f1081dfc3) Update serde_derive minimum rustc version to 1.31 - [`3ea85a2`](https://github.com/serde-rs/serde/commit/3ea85a28cfbfbcad764e28cdedb34d27ea3bd926) Update to syn/quote 1.0 - [`273ecdb`](https://github.com/serde-rs/serde/commit/273ecdb786d3503135761e65a8468546b3f8e299) Update ui tests on nightly-2019-08-16 - [`de40eb7`](https://github.com/serde-rs/serde/commit/de40eb7306749fa6e47ed8ba52514a11afe8a880) Update serde_derive to use question mark - [`b9c4407`](https://github.com/serde-rs/serde/commit/b9c44073ce0294f16a379a265388c4f6885af01b) Update serde_test to use question mark - [`d6e5947`](https://github.com/serde-rs/serde/commit/d6e5947ad219ebb5fc1518bd99605bb38bb51da3) Suppress warnings about try! macro - [`668651e`](https://github.com/serde-rs/serde/commit/668651ee01a6b8df0b28e653740776ba4c1aa4c4) Format with rustfmt 2019-07-30 - [`fb1cacc`](https://github.com/serde-rs/serde/commit/fb1cacc10e7305dc31119cbbc43fb9078c29432b) Update Attr structs to hold symbols - Additional commits viewable in [compare view](https://github.com/serde-rs/serde/compare/v1.0.94...v1.0.99)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.