Avoid use of `anyhow`

Open
#161 4 comments 6 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@mkulke is already working on this.

Since Apr 24, 2024.

  • #212 by @mkulke — open
  • #507 by @copilot-swe-agent — closed without merging

Assessment

This issue has not been assessed yet.

Description

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.

Dominant language
Rust
Stars
375
Forks
81
Avg merge
1d 11h
Merged PRs (30d)
78

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/regorus

All issues in microsoft/regorus

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.