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

Strip down futures-* dependencies #1273

Merged
merged 8 commits into from Dec 29, 2021
Merged

Strip down futures-* dependencies #1273

merged 8 commits into from Dec 29, 2021

Conversation

Ralith
Copy link
Collaborator

@Ralith Ralith commented Dec 29, 2021

This drops 6 packages from the workspace-scoped Cargo.lock, and should save a decent amount of buildtime, both locally and downstream.

This was calling `Endpoint::connect_with` outside of a tokio runtime
context.
We're already using tokio::sync for Notify, so this drops a dep for
free.
Establishes symmetry with our other async streams, making it usable
without importing a trait from futures-core.
This was only used to implement Stream, which we don't actually need.
This wasn't serving any purpose we couldn't more readably accomplish
with async/await.
Copy link
Collaborator

@djc djc left a comment

Choose a reason for hiding this comment

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

Nice!

@djc djc merged commit b2c24d9 into main Dec 29, 2021
@djc djc deleted the optional-futures branch December 29, 2021 06:34
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