Release notes
*Sourced from [serde_derive's releases](https://github.com/serde-rs/serde/releases).*
> ## v1.0.102
> - Support deserializing `PathBuf` from bytes like `&Path` already did, and support deserializing `Box` ([#1656](https://github-redirect.dependabot.com/serde-rs/serde/issues/1656), thanks [@heftig](https://github.com/heftig))
>
> ## v1.0.101
> - Report errors on malformed serde attributes, like `#[serde(rename =)]` -- the compiler used to reject these itself, but when the compiler relaxed its requirements on attribute syntax these malformed attributes began silently being ignored by serde_derive
>
> - Eliminate unused variable warning when using skip_serializing inside a tuple variant of an adjacently tagged enum ([#1617](https://github-redirect.dependabot.com/serde-rs/serde/issues/1617), thanks [@arilotter](https://github.com/arilotter))
>
> - Support skip attribute inside of newtype variants ([#1622](https://github-redirect.dependabot.com/serde-rs/serde/issues/1622), thanks [@Xaeroxe](https://github.com/Xaeroxe))
>
> ## v1.0.100
> - Provide `serde::ser::StdError` and `serde::de::StdError` which are either a re-export of `std::error::Error` (if Serde's "std" feature is enabled) or a new identical trait (otherwise).
>
> ```rust
> #[cfg(feature = "std")]
> pub use std::error::Error as StdError;
>
> #[cfg(not(feature = "std"))]
> pub trait StdError: Debug + Display {
> fn source(&self) -> Option<&(StdError + 'static)> { None }
> }
> ```
>
> Serde's error traits `serde::ser::Error` and `serde::de::Error` require `std::error::Error` as a supertrait, but only when Serde is built with "std" enabled. Data formats that don't care about no\_std support should generally provide their error types with a `std::error::Error` impl directly:
>
> ```rust
> #[derive(Debug)]
> struct MySerError {...}
>
> impl serde::ser::Error for MySerError {...}
>
> impl std::fmt::Display for MySerError {...}
>
> // We don't support no_std!
> impl std::error::Error for MySerError {}
> ```
>
> Data formats that *do* support no\_std may either have a "std" feature of their own as has been required in the past:
>
> ```toml
> [features]
> std = ["serde/std"]
> ```
>
> ```rust
> #[cfg(feature = "std")]
> impl std::error::Error for MySerError {}
> ```
>
> ... or else now may provide the std Error impl unconditionally via Serde's re-export:
> ... (truncated)
Commits
- [`2ceabad`](https://github.com/serde-rs/serde/commit/2ceabad360326a959800d14f6c5183e41b1d4c5b) Release 1.0.102
- [`a00aee1`](https://github.com/serde-rs/serde/commit/a00aee14950baca7de2e334b895e203b013712da) Use a dedicated cfg for PathBuf::into_boxed_path
- [`4e31c99`](https://github.com/serde-rs/serde/commit/4e31c9984d2d62d2f058d2df08feca2c1708ab87) Merge pull request [#1656](https://github-redirect.dependabot.com/serde-rs/serde/issues/1656) from heftig/path-improvements
- [`b8772a1`](https://github.com/serde-rs/serde/commit/b8772a1e402bb258e5754e3dedd0bf892fcc9124) Deserialize Box\ through PathBuf::into_boxed_path
- [`42990d8`](https://github.com/serde-rs/serde/commit/42990d82646377028a817c0f6be7cf2e5ce237b4) Deserialize PathBuf from bytes
- [`cf31418`](https://github.com/serde-rs/serde/commit/cf314185558f92fecc4f81ea98b3648967bfc8ea) Resolve unused_self lint
- [`5db72b8`](https://github.com/serde-rs/serde/commit/5db72b8ad91ca25fa6140ed8384ee790d2d68273) Ignore must_use_candidate pedantic lint
- [`fe8f8bc`](https://github.com/serde-rs/serde/commit/fe8f8bcf7bca505413b4527d4be491bd6d931c1d) Address needless_doctest_main lint in serde_test
- [`d4d737d`](https://github.com/serde-rs/serde/commit/d4d737de8d5a08104a7b4b0bc072715fe112af2e) Resolve redundant_clone lint
- [`52f6e96`](https://github.com/serde-rs/serde/commit/52f6e96ee86fd806c1b81a87a70873a0bcbf1e28) Ignore needless_doctest_main lint
- Additional commits viewable in [compare view](https://github.com/serde-rs/serde/compare/v1.0.79...v1.0.102)
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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps serde_derive from 1.0.79 to 1.0.102.
Release notes
*Sourced from [serde_derive's releases](https://github.com/serde-rs/serde/releases).* > ## v1.0.102 > - Support deserializing `PathBuf` from bytes like `&Path` already did, and support deserializing `BoxCommits
- [`2ceabad`](https://github.com/serde-rs/serde/commit/2ceabad360326a959800d14f6c5183e41b1d4c5b) Release 1.0.102 - [`a00aee1`](https://github.com/serde-rs/serde/commit/a00aee14950baca7de2e334b895e203b013712da) Use a dedicated cfg for PathBuf::into_boxed_path - [`4e31c99`](https://github.com/serde-rs/serde/commit/4e31c9984d2d62d2f058d2df08feca2c1708ab87) Merge pull request [#1656](https://github-redirect.dependabot.com/serde-rs/serde/issues/1656) from heftig/path-improvements - [`b8772a1`](https://github.com/serde-rs/serde/commit/b8772a1e402bb258e5754e3dedd0bf892fcc9124) Deserialize Box\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) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)