rusty-crab / warp-api-starter-template

A boilerplate template for starting a web services using Warp + SQLx (PostgreSQL) + Redis + Juniper (GraphQL). ❤️
MIT License
201 stars 17 forks source link

Bump thiserror from 1.0.20 to 1.0.30 #117

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 3 years ago

Bumps thiserror from 1.0.20 to 1.0.30.

Release notes

Sourced from thiserror's releases.

1.0.30

  • Make #[source] attribute usable on a field of type Box<dyn Error + Send + Sync + UnwindSafe + 'static> (#155, thanks @​cosmicexplorer)

1.0.29

  • Support error types containing generic type parameters (#148, #149, #150, #151)

    use thiserror::Error;
    

    #[derive(Error, Debug)] pub enum MyError<E, F, G> { #[error("thing {0} ({0:?})")] Variant(E), #[error("some error")] Delegate(#[source] SomeError<F>), #[error("err 0o{val:o}")] Octal { val: G }, }

    In the above example, thiserror would automatically generate the following pair of generic trait impls.

    impl<E, F, G> std::error::Error for MyError<E, F, G>
    where
        SomeError<F>: std::error::Error + 'static,
        Self: std::fmt::Debug + std::fmt::Display;
    

    impl<E, F, G> std::fmt::Display for MyError<E, F, G> where E: std::fmt::Debug + std::fmt::Display, G: std::fmt::Octal;

1.0.28

  • Make ? work with error types that hold an optional source (#147)

1.0.27

  • Support forwarding backtrace method to source's backtrace method (#137, #146, thanks @​astraw)

1.0.26

1.0.25

  • Support error(transparent) on errors containing a non-'static inner error (#113)

1.0.24

1.0.23

... (truncated)

Commits
  • 672e952 Release 1.0.30
  • 5c62f5e Merge pull request #155 from cosmicexplorer/derive-unwindsafe
  • 2fd08cc add UnwindSafe impl for AsDynError
  • 00956f1 Ui test changes for trybuild 1.0.49
  • 035abbd Add actions job to notice outdated dependencies
  • f072c62 Update ui test files
  • 791a98e Update ui test suite to nightly-2021-10-07
  • ed234d4 Declare minimum Rust version in Cargo metadata
  • bda41eb Skip clippy job on pull requests
  • c7dd271 Release 1.0.29
  • Additional commits viewable 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[bot] commented 2 years ago

Superseded by #144.