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

Several changes. #1353

Merged
merged 10 commits into from Jan 2, 2020
Merged

Several changes. #1353

merged 10 commits into from Jan 2, 2020

Conversation

twittner
Copy link
Contributor

@twittner twittner commented Dec 18, 2019

  • Pin futures_codec to version 0.3.3 as later versions require at least bytes-0.5 which he have not upgraded to yet. Update to bytes v0.5 except for multiaddr.
  • Replace futures::executor::block_on with async_std::task::block_on where async-std is already a dependency to work around an issue with park/unpark behaviour.
  • Use the published versions of quicksink, soketto and yamux.
  • Use futures-timer version 2 in core which removes the last (transitive) dependency to futures-preview.

Depends on paritytech/unsigned-varint#23.

- Pin `futures_codec` to version 0.3.3 as later versions require
at least bytes-0.5 which he have not upgraded to yet.
- Replace `futures::executor::block_on` with `async_std::task::block_on`
where `async-std` is already a dependency to work around an issue with
`park`/`unpark` behaviour.
- Use the published version of `quicksink`.
This removes the last dependencies to futures-preview.
@mxinden
Copy link
Member

mxinden commented Dec 19, 2019

to work around an issue with park/unpark behaviour.

@twittner I am curious. Can you add a link to the issue?

@romanb
Copy link
Contributor

romanb commented Dec 19, 2019

to work around an issue with park/unpark behaviour.

@twittner I am curious. Can you add a link to the issue?

rust-lang/futures-rs#2010

Skip over empty messages or else the socket may not be connected by the
time `close` is called on it.
Copy link
Contributor

@Demi-Marie Demi-Marie left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

@Demi-Marie
Copy link
Contributor

@tomaka can you merge this?

Except for `multiaddr` which encapsulates its use of bytes v0.4 now.
@tomaka tomaka merged commit ff0d2d5 into libp2p:stable-futures Jan 2, 2020
@twittner twittner deleted the fixes branch January 2, 2020 10:53
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

5 participants