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

Reduce dependency on futures crate #140

Merged
12 commits merged into from Sep 4, 2019
Merged

Reduce dependency on futures crate #140

12 commits merged into from Sep 4, 2019

Conversation

ghost
Copy link

@ghost ghost commented Sep 3, 2019

This PR reduces our dependency on the futures crate by only keeping futures-channel-preview, futures-core-preview, and futures-io-preview as dependencies.

The futures-timer crate still pulls the whole futures-preview crate as a transitive dependency, so this PR is not yet the solution, but is a first step towards it.

In the end, we'd like to depend only on futures-core-preview and futures-io-preview, only using traits Stream, AsyncRead, AsyncWrite, and nothing else.

@ghost ghost requested a review from yoshuawuyts September 3, 2019 11:57
@skade
Copy link
Collaborator

skade commented Sep 3, 2019

This is fails on travis is failing imports.

@@ -4,7 +4,9 @@
pub use std::future::Future;

pub use pending::pending;
pub use poll_fn::poll_fn;
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems to depend on #124.

Copy link
Contributor

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

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

Looks gooooood!

@ghost ghost merged commit bac74c2 into async-rs:master Sep 4, 2019
@ghost ghost deleted the remove-futures branch September 4, 2019 23:22
This pull request was closed.
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