Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove anyhow dependency #9

Closed
piegamesde opened this issue Mar 5, 2022 · 0 comments · Fixed by #11
Closed

Remove anyhow dependency #9

piegamesde opened this issue Mar 5, 2022 · 0 comments · Fixed by #11

Comments

@piegamesde
Copy link

piegamesde commented Mar 5, 2022

Anyhow is a great error handling crate for applications, but libraries should prefer brining their own error types instead. For example, I switched from anyhow to eyre, and adding the cli-clipboard dependency would reintroduce anyhow which I don't necessarily want/need.


I'm just noticing wl-clipboard-rs also depends on failure, which means I now depend on three(!) similar error handling crates. I'll open an upstream issue there too.

@piegamesde piegamesde changed the title Remove anyhow Remove anyhow dependency Mar 5, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant