Skip to content

Conversation

@CathalMullan
Copy link
Contributor

Motivation

Was aiming to reduce syn usage in my dependency tree, and noticed a fairly unnecessary use of thiserror here. Also noticed a handful of unused deps, thanks to cargo-shear.

Solution

Removal of the unused deps, and replacing thiserror with a manual implementation.

Copy link
Collaborator

@mladedav mladedav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

opentelemetry (which is a dependency) uses thiserror so I don't think there is any real benefit in doing this manually.

But it's true it's not much code so I'm fine with this.

Thanks for the pruning.

@mladedav mladedav merged commit 79be94c into tokio-rs:v0.1.x Oct 20, 2025
14 checks passed
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.

3 participants