hyperlight-dev / hyperlight-dev/hyperlight

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

Đang mở
#190 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
help-wanted lifecycle/confirmed
Ngôn ngữ chính
Rust
Star
4.7k
Fork
208
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
47

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.