Skip to main content


Seriously #rust #rustlang #rustdev #rustprogramming people:

Use `thiserror` in library crates! Only use `anyhow` in binary crates!

Don't give your users a hard time fighting against `anhyow::Error` when using your library!

#programmingadvice #programming
When starting out with an executable project and then extract functionality into a separate library, this is usually the main task I perform besides moving stuff around.