Skip to content

fix(tokio): upgrade to tokio 1.0.0#26

Merged
sbosnick merged 3 commits intobetafrom
features/update_tokio
Dec 28, 2020
Merged

fix(tokio): upgrade to tokio 1.0.0#26
sbosnick merged 3 commits intobetafrom
features/update_tokio

Conversation

@sbosnick
Copy link
Member

Upgrades the dependency on tokio to the stable 1.0.0 version. This necessitates changing the tokio::UnixStream and tokio::UnixListener implementations in this crate to use the AsyncFd type from the tokio crate. The tokio support in this crate no longer depends on mio.

Change this crate's tokio::UnixStream and tokio::UnixListener to wrap
the net::UnixStream and net::UnixListener in the tokio (crate) AsyncFd
and then use the AsyncFd to implement AsyncRead and AsyncWrite. This
cuts out the use of the mio module in the tokio module of this crate.
The increase is required by the upgrade to tokio 1.0.0. The increase
in the MRSV removes the need for the "Patch Dependencies" step in the
ci workflow.

Fixes: #1

BREAKING CHANGE: increase the MRSV to 1.45.0

This change will require upgrading old compilers to at least 1.45.0.
@sbosnick sbosnick merged commit ebb6035 into beta Dec 28, 2020
@sbosnick sbosnick deleted the features/update_tokio branch December 28, 2020 02:35
sbosnick-bot pushed a commit that referenced this pull request Dec 28, 2020
# [1.0.0-beta.3](v1.0.0-beta.2...v1.0.0-beta.3) (2020-12-28)

### Bug Fixes

* **tokio:** upgrade to tokio 1.0.0 ([#26](#26)) ([ebb6035](ebb6035)), closes [#1](#1)

### BREAKING CHANGES

* **tokio:** increase the MRSV to 1.45.0

This change will require upgrading old compilers to at least 1.45.0.
@sbosnick-bot
Copy link
Member

🎉 This PR is included in version 1.0.0-beta.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants