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

Only turn on tokio features that are used by this crate #10

Merged
merged 1 commit into from Nov 19, 2021

Conversation

carols10cents
Copy link
Contributor

Hi! It looks like this crate doesn't actually need all of tokio's features that are turned on by full-- I turned them all off and then turned them back on one-by-one until the tests passed.

This way, crates that depend on this one won't be forced to use full by feature unification.

Thanks!

@ByteAlex
Copy link
Owner

Thank you for your PR!
I‘ll have a detailed review once I am on PC, but it looks good so far.
Good catch!

I think it would also make sense to use a semver declaration instead of pinning 1.5.0, I‘ll look into that later aswell.

Copy link
Owner

@ByteAlex ByteAlex left a comment

Choose a reason for hiding this comment

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

LGTM

@ByteAlex ByteAlex merged commit ed553ee into ByteAlex:master Nov 19, 2021
@carols10cents carols10cents deleted the fewer-tokio-features branch November 19, 2021 14:40
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.

None yet

2 participants