hyperlight-dev / hyperlight-dev/hyperlight
Consider using `thiserror` instead of `anyhow` in `hyperlight_common`
Ouverte
help-wanted
lifecycle/confirmed
- Langage dominant
- Rust
- Étoiles
- 4.7k
- Forks
- 208
- Merge moyen
- 1 j 7 h
- PR mergées (30 j)
- 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).
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.