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

Update futures-preview to 0.3.0-alpha.19 #255

Merged
merged 2 commits into from Oct 1, 2019
Merged

Conversation

taiki-e
Copy link
Contributor

@taiki-e taiki-e commented Sep 28, 2019

@tomaka
Copy link

tomaka commented Sep 28, 2019

Would this be a breaking change and require async-std to be bumped to 0.100.0?

@taiki-e
Copy link
Contributor Author

taiki-e commented Sep 28, 2019

@tomaka Since the major version of async-std is 0, we will actually need to increase the minor version (if we follow semver).

Also, I believe https://github.com/async-rs/async-std/pull/239/files#diff-4ac32a78649ca5bdd8e0ba38b7006a1eR39-R40 was a breaking change.
So my understanding is that async-std will not follow semver until 1.0.0 is released (Disclaimer: I'm not involved in these release processes, so I'm not sure about the exact thing).
(This actually occurs even in crate managed by rustasync such as surf.)

@yoshuawuyts yoshuawuyts added the enhancement New feature or request label Sep 28, 2019
@@ -48,11 +48,11 @@ broadcaster = { version = "0.2.6", optional = true, default-features = false, fe
femme = "1.2.0"
surf = "1.0.2"
tempdir = "0.3.7"
futures-preview = { version = "=0.3.0-alpha.19", features = ["async-await"] }
Copy link
Collaborator

@skade skade Sep 29, 2019

Choose a reason for hiding this comment

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

We can also drop the async-await feature, we don't need it anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think examples/a-chat is still using it.

use futures::select;

Copy link
Collaborator

Choose a reason for hiding this comment

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

Right, in this case, we should keep it.

@skade
Copy link
Collaborator

skade commented Oct 1, 2019

@taiki-e I can't quite figure out why this is a draft, is there anything missing?

@taiki-e
Copy link
Contributor Author

taiki-e commented Oct 1, 2019

@skade This PR is marked as a draft because it depends on other PR (http-rs/surf#74, But, I'm not sure if this is the correct usage of the draft). Everything else is ready.

@skade
Copy link
Collaborator

skade commented Oct 1, 2019

In this case, I think we should deactivate the surf example temporarily in this case and merge it.

@taiki-e taiki-e marked this pull request as ready for review October 1, 2019 17:09
@taiki-e
Copy link
Contributor Author

taiki-e commented Oct 1, 2019

@skade Done.

@skade
Copy link
Collaborator

skade commented Oct 1, 2019

bors r+

bors bot added a commit that referenced this pull request Oct 1, 2019
255: Update futures-preview to 0.3.0-alpha.19 r=skade a=taiki-e

Depends on http-rs/surf#74

Refs:
* rust-lang/futures-rs#1761
* rust-lang/futures-rs#1845


cc @skade @stjepang @yoshuawuyts 

Co-authored-by: Taiki Endo <te316e89@gmail.com>
@bors
Copy link
Contributor

bors bot commented Oct 1, 2019

Build failed

  • continuous-integration/travis-ci/push

@taiki-e
Copy link
Contributor Author

taiki-e commented Oct 1, 2019

Oops, sorry, I forgot to remove the patch. (It has been fixed in the latest commit.)

@taiki-e
Copy link
Contributor Author

taiki-e commented Oct 1, 2019

Fixed and CI passed.

@skade
Copy link
Collaborator

skade commented Oct 1, 2019

bors r+

bors bot added a commit that referenced this pull request Oct 1, 2019
255: Update futures-preview to 0.3.0-alpha.19 r=skade a=taiki-e

Depends on http-rs/surf#74

Refs:
* rust-lang/futures-rs#1761
* rust-lang/futures-rs#1845


cc @skade @stjepang @yoshuawuyts 

Co-authored-by: Taiki Endo <te316e89@gmail.com>
@bors
Copy link
Contributor

bors bot commented Oct 1, 2019

Build succeeded

  • continuous-integration/travis-ci/push

@bors bors bot merged commit 77ebedd into async-rs:master Oct 1, 2019
@taiki-e taiki-e deleted the futures branch October 2, 2019 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants