Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Bump serde_derive from 1.0.99 to 1.0.100#358

Merged
tomtau merged 1 commit intomasterfrom
dependabot/cargo/serde_derive-1.0.100
Sep 9, 2019
Merged

Bump serde_derive from 1.0.99 to 1.0.100#358
tomtau merged 1 commit intomasterfrom
dependabot/cargo/serde_derive-1.0.100

Conversation

@dependabot-preview
Copy link
Copy Markdown
Contributor

Bumps serde_derive from 1.0.99 to 1.0.100.

Release notes

Sourced from serde_derive's 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).

    #[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:

    #[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:

    [features]
    std = ["serde/std"]
    #[cfg(feature = "std")]
    impl std::error::Error for MySerError {}

    ... or else now may provide the std Error impl unconditionally via Serde's re-export:

    impl serde::ser::StdError for MySerError {}
Commits
  • b6a77c4 Release 1.0.100
  • 3343885 Merge pull request #1620 from dtolnay/error
  • c083cfd Export std error type so downstream doesn't need "std" feature
  • 4cea81f Merge pull request #1615 from jamesmunns/patch-1
  • 2d36be7 Add Postcard to the list of Serde Data Formats
  • 738d29e Update serde_derive_internals to syn 1.0
  • b536fb6 Merge pull request #1604 from UnHumbleBen/patch-1
  • b10c23a Fixed a typo
  • 85a5cf7 Document serde_derive minimum rustc
  • See full diff in compare view

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:

  • 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](https://github.com/serde-rs/serde) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.99...v1.0.100)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Sep 8, 2019
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 8, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@4471383). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #358   +/-   ##
=========================================
  Coverage          ?   65.16%           
=========================================
  Files             ?      106           
  Lines             ?    12037           
  Branches          ?        0           
=========================================
  Hits              ?     7844           
  Misses            ?     4193           
  Partials          ?        0

1 similar comment
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 8, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@4471383). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #358   +/-   ##
=========================================
  Coverage          ?   65.16%           
=========================================
  Files             ?      106           
  Lines             ?    12037           
  Branches          ?        0           
=========================================
  Hits              ?     7844           
  Misses            ?     4193           
  Partials          ?        0

Copy link
Copy Markdown
Contributor

@tomtau tomtau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no std errors

@tomtau tomtau merged commit 3207d5d into master Sep 9, 2019
@tomtau tomtau deleted the dependabot/cargo/serde_derive-1.0.100 branch September 9, 2019 01:58
tomtau pushed a commit that referenced this pull request Sep 11, 2019
Bumps [serde_derive](https://github.com/serde-rs/serde) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.99...v1.0.100)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
(cherry picked from commit 3207d5d)
bors bot added a commit that referenced this pull request Nov 25, 2019
614: Bump chrono from 0.4.9 to 0.4.10 r=tomtau a=dependabot-preview[bot]

Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.9 to 0.4.10.
<details>
<summary>Changelog</summary>

*Sourced from [chrono's changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md).*

> ## 0.4.10
> 
> ### Improvements
> 
> * `DateTime::parse_from_str` is more than 2x faster in some cases. ([@&#8203;michalsrb](https://github.com/michalsrb)
>   [#358](https://github-redirect.dependabot.com/chronotope/chrono/issues/358))
> * Significant improvements to no-std and alloc support (This should also make
>   many format/serialization operations induce zero unnecessary allocations)
>   ([@&#8203;CryZe](https://github.com/CryZe) [#341](https://github-redirect.dependabot.com/chronotope/chrono/issues/341))
> 
> ### Features
> 
> * Functions that were accepting `Iterator` of `Item`s (for example
>   `format_with_items`) now accept `Iterator` of `Borrow<Item>`, so one can
>   use values or references. ([@&#8203;michalsrb](https://github.com/michalsrb) [#358](https://github-redirect.dependabot.com/chronotope/chrono/issues/358))
> * Add built-in support for structs with nested `Option<Datetime>` etc fields
>   ([@&#8203;manifest](https://github.com/manifest) [#302](https://github-redirect.dependabot.com/chronotope/chrono/issues/302))
> 
> ### Internal/doc improvements
> 
> * Use markdown footnotes on the `strftime` docs page ([@&#8203;qudlibetor](https://github.com/qudlibetor) [#359](https://github-redirect.dependabot.com/chronotope/chrono/issues/359))
> * Migrate from `try!` -> `?` (question mark) because it is now emitting
>   deprecation warnings and has been stable since rustc 1.13.0
> * Deny dead code
</details>
<details>
<summary>Commits</summary>

- [`5905935`](chronotope/chrono@5905935) Merge pull request [#361](https://github-redirect.dependabot.com/chronotope/chrono/issues/361) from quodlibetor/deny-dead-code
- [`41700d1`](chronotope/chrono@41700d1) Remove unused constant, deny(dead_code)
- [`5b4fc23`](chronotope/chrono@5b4fc23) Merge pull request [#360](https://github-redirect.dependabot.com/chronotope/chrono/issues/360) from quodlibetor/chrono-0_4_10
- [`288f1dd`](chronotope/chrono@288f1dd) Merge pull request [#356](https://github-redirect.dependabot.com/chronotope/chrono/issues/356) from quodlibetor/num_days_from_epoch-docs
- [`670561b`](chronotope/chrono@670561b) Prepare for and Bump Chrono version to 0.4.10
- [`6622bdc`](chronotope/chrono@6622bdc) Replace all uses of `try!` with question mark
- [`46f8267`](chronotope/chrono@46f8267) Merge pull request [#358](https://github-redirect.dependabot.com/chronotope/chrono/issues/358) from michalsrb/optimize-parsing
- [`b717e04`](chronotope/chrono@b717e04) Handle some semantic merge conflicts
- [`27f5e5e`](chronotope/chrono@27f5e5e) Temporarily globally allow deprecated
- [`0b8c248`](chronotope/chrono@0b8c248) Fix build with rust 1.13.0
- Additional commits viewable in [compare view](chronotope/chrono@v0.4.9...v0.4.10)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=chrono&package-manager=cargo&previous-version=0.4.9&new-version=0.4.10)](https://dependabot.com/compatibility-score.html?dependency-name=chrono&package-manager=cargo&previous-version=0.4.9&new-version=0.4.10)

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)
- `@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)



</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants