Closed ariel-miculas closed 1 week ago
thiserror is often used in libraries, whereas anyhow is usually used in applications. My use case is that I want to convert from errors returned by this library into errors that PuzzleFS uses, see: https://github.com/project-machine/puzzlefs/blob/master/puzzlefs-lib/src/format/error.rs
thiserror
anyhow
PR in https://github.com/containers/ocidir-rs/pull/16
thiserror
is often used in libraries, whereasanyhow
is usually used in applications. My use case is that I want to convert from errors returned by this library into errors that PuzzleFS uses, see: https://github.com/project-machine/puzzlefs/blob/master/puzzlefs-lib/src/format/error.rs