[PR #333] [MERGED] Replace failure with anyhow #760

Closed
opened 2026-02-28 14:53:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Rigellute/spotify-tui/pull/333
Author: @Rigellute
Created: 3/12/2020
Status: Merged
Merged: 3/30/2020
Merged by: @Rigellute

Base: masterHead: replace-failure-anyhow


📝 Commits (1)

  • f6a27fb Replace failure with anyhow

📊 Changes

7 files changed (+908 additions, -977 deletions)

View changed files

📝 Cargo.lock (+842 -911)
📝 Cargo.toml (+1 -1)
📝 src/app.rs (+4 -4)
📝 src/config.rs (+5 -5)
📝 src/main.rs (+4 -3)
📝 src/network.rs (+37 -32)
📝 src/user_config.rs (+15 -21)

📄 Description

Unlike failure, anyhow is built around the standard library's std::error::Error trait rather than a separate trait failure::Fail. The standard library has adopted the necessary improvements for this to be possible as part of RFC 2504.

I plan to replace failure in rpsotify too.


🔄 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/Rigellute/spotify-tui/pull/333 **Author:** [@Rigellute](https://github.com/Rigellute) **Created:** 3/12/2020 **Status:** ✅ Merged **Merged:** 3/30/2020 **Merged by:** [@Rigellute](https://github.com/Rigellute) **Base:** `master` ← **Head:** `replace-failure-anyhow` --- ### 📝 Commits (1) - [`f6a27fb`](https://github.com/Rigellute/spotify-tui/commit/f6a27fb88f084c0b2616db200f2996c068c9bd0e) Replace failure with anyhow ### 📊 Changes **7 files changed** (+908 additions, -977 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+842 -911) 📝 `Cargo.toml` (+1 -1) 📝 `src/app.rs` (+4 -4) 📝 `src/config.rs` (+5 -5) 📝 `src/main.rs` (+4 -3) 📝 `src/network.rs` (+37 -32) 📝 `src/user_config.rs` (+15 -21) </details> ### 📄 Description Unlike failure, anyhow is built around the standard library's std::error::Error trait rather than a separate trait failure::Fail. The standard library has adopted the necessary improvements for this to be possible as part of RFC 2504. I plan to replace failure in rpsotify too. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:53:15 +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/spotify-tui#760
No description provided.