hyperlight-dev / hyperlight-dev/hyperlight

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

未关闭
#190 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
help-wanted lifecycle/confirmed
主要语言
Rust
星标
4.7k
派生
208
平均合并
1 天 7 小时
30 天内合并 PR
47

描述

`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).

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。