lolishinshi / exloli

从 E 站抓取画(ben)廊(zi)并上传 telegraph 并转发至 telegram channel
MIT License
123 stars 18 forks source link

Bump serde from 1.0.99 to 1.0.100 #26

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps serde from 1.0.99 to 1.0.100.

Release notes *Sourced from [serde's releases](https://github.com/serde-rs/serde/releases).* > ## 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: > > ```rust > impl serde::ser::StdError for MySerError {} > ```
Commits - [`b6a77c4`](https://github.com/serde-rs/serde/commit/b6a77c4413f902523646be0d7f5520631df53ff6) Release 1.0.100 - [`3343885`](https://github.com/serde-rs/serde/commit/33438850a6a8b0a3550619a60885cfc6f224e53f) Merge pull request [#1620](https://github-redirect.dependabot.com/serde-rs/serde/issues/1620) from dtolnay/error - [`c083cfd`](https://github.com/serde-rs/serde/commit/c083cfd65eee3aeef3f76d64679fa30a809730de) Export std error type so downstream doesn't need "std" feature - [`4cea81f`](https://github.com/serde-rs/serde/commit/4cea81f93f12473e0ccbdad2ddecff1f7ea85402) Merge pull request [#1615](https://github-redirect.dependabot.com/serde-rs/serde/issues/1615) from jamesmunns/patch-1 - [`2d36be7`](https://github.com/serde-rs/serde/commit/2d36be753ae0212ac9fc9386957256770776aa26) Add Postcard to the list of Serde Data Formats - [`738d29e`](https://github.com/serde-rs/serde/commit/738d29eaa9f5377b54f35a60556a4ac7fa7aa868) Update serde_derive_internals to syn 1.0 - [`b536fb6`](https://github.com/serde-rs/serde/commit/b536fb67a4379a1d1bc0698b06a524ffd10ba978) Merge pull request [#1604](https://github-redirect.dependabot.com/serde-rs/serde/issues/1604) from UnHumbleBen/patch-1 - [`b10c23a`](https://github.com/serde-rs/serde/commit/b10c23a9503cfd40462fb9363a8a4e8b2ee0c7b6) Fixed a typo - [`85a5cf7`](https://github.com/serde-rs/serde/commit/85a5cf7cb121e5b65748faddb1e4f606ec365640) Document serde_derive minimum rustc - See full diff in [compare view](https://github.com/serde-rs/serde/compare/v1.0.99...v1.0.100)


Dependabot compatibility score

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.
dependabot-preview[bot] commented 5 years ago

Superseded by #27.