Avoid use of `anyhow`

オープン
#161 コメント 4 件 リアクション 6 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@mkulke がすでに取り組んでいます。

2024年4月24日 から。

  • #212 @mkulke による — オープン
  • #507 @copilot-swe-agent による — マージされずにクローズ

評価

この issue はまだ評価されていません。

説明

dependencies enhancement

Avoid use of anyhow in Regorus.

Turns out ThisError is not no_std compatible.


Original description:

According to comparison,

"Use Anyhow if you don't care what error type your functions return, you just want it to be easy. This is common in application code. Use thiserror if you are a library that wants to design your own dedicated error type(s) so that on failures the caller gets exactly the information that you choose".

The errors in Regorus need to be changed to ThisError.

主要言語
Rust
スター
375
フォーク
81
平均マージ
1日 11時間
マージ済み PR(30日)
78

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/regorus のほかの issue

microsoft/regorus の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。