hyperlight-dev / hyperlight-dev/hyperlight

Consider using `thiserror` instead of `anyhow` in `hyperlight_common`

Open
#190 1 comment 0 reactions 0 assignees View on GitHub
help-wanted lifecycle/confirmed
Dominant language
Rust
Stars
4.7k
Forks
208
Avg merge
1d 7h
Merged PRs (30d)
47

Description

`hyperlight_common` is using `anyhow` (https://github.com/hyperlight-dev/hyperlight/blob/b9c67fb7450cfebbd47918b979a97cfa447c43be/src/hyperlight_common/Cargo.toml#L19) for its errors, which is probably not the most appropriate with it being a library. We should consider refactoring `hyperlight_common` to use `thiserror` like we do in `hyperlight_host` (https://github.com/hyperlight-dev/hyperlight/blob/b9c67fb7450cfebbd47918b979a97cfa447c43be/src/hyperlight_host/src/error.rs#L49).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.