[PR #123] [MERGED] Replace failure with anyhow and thiserror #258

Closed
opened 2026-02-27 20:23:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/123
Author: @arlyon
Created: 9/6/2020
Status: Merged
Merged: 9/9/2020
Merged by: @ramsayleung

Base: masterHead: remove-failure


📝 Commits (2)

  • 1546e63 Remove failure in favour of thiserror and explicit error types
  • fa3d0b1 Update changelog

📊 Changes

4 files changed (+288 additions, -418 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 Cargo.toml (+1 -1)
📝 src/blocking/client.rs (+142 -208)
📝 src/client.rs (+144 -209)

📄 Description

As described in #122 , failure is deprecated. This replaces it with anyhow and thiserror.

Closes #122


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/123 **Author:** [@arlyon](https://github.com/arlyon) **Created:** 9/6/2020 **Status:** ✅ Merged **Merged:** 9/9/2020 **Merged by:** [@ramsayleung](https://github.com/ramsayleung) **Base:** `master` ← **Head:** `remove-failure` --- ### 📝 Commits (2) - [`1546e63`](https://github.com/ramsayleung/rspotify/commit/1546e6354e7047d22925a866c121b7a4b4024f04) Remove failure in favour of thiserror and explicit error types - [`fa3d0b1`](https://github.com/ramsayleung/rspotify/commit/fa3d0b1f1a452701cd725f24754b8393ed92544b) Update changelog ### 📊 Changes **4 files changed** (+288 additions, -418 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `Cargo.toml` (+1 -1) 📝 `src/blocking/client.rs` (+142 -208) 📝 `src/client.rs` (+144 -209) </details> ### 📄 Description As described in #122 , `failure` is deprecated. This replaces it with anyhow and thiserror. Closes #122 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:23:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#258
No description provided.