Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Replace derive_more with thiserror #28

Merged
merged 1 commit into from
Sep 21, 2022
Merged

Conversation

MarijnS95
Copy link
Contributor

Commit d9829cc ("Remove failure dependency") made the case that thiserror could be used as a replacement for the failure crate just as well, but opted to use derive_more as it was "already used" by wl-clipboard-rs. Checking the repo before that commit reveals that this was an unused dependency lingering in Cargo.toml, without any other references to derive_more.

Furthermore derive_more is an extremely heavy crate that is causing a multitude of issues for us (such as inordinate compile times) which is why we deter it from our dependency graph altogether.

Commit d9829cc ("Remove failure dependency") made the case that
`thiserror` could be used as a replacement for the `failure` crate just
as well, but opted to use `derive_more` as it was "already used" by
`wl-clipboard-rs`.  Checking the repo before that commit reveals that
this was an unused dependency lingering in `Cargo.toml`, without any
other references to `derive_more`.

Furthermore `derive_more` is an extremely heavy crate that is causing a
multitude of issues for us ([such as inordinate compile times]) which is
why we deter it from our dependency graph altogether.

[such as inordinate compile times]: gfx-rs/rspirv#218 (comment)
@YaLTeR
Copy link
Owner

YaLTeR commented Sep 21, 2022

Thanks!

@MarijnS95 MarijnS95 deleted the thiserror branch September 21, 2022 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants