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

Upgrade to Tokio 1.0 (and mio 0.7) #32

Merged
merged 7 commits into from
Jul 1, 2021
Merged

Upgrade to Tokio 1.0 (and mio 0.7) #32

merged 7 commits into from
Jul 1, 2021

Conversation

Xanewok
Copy link
Contributor

@Xanewok Xanewok commented Jun 29, 2021

Closes #30.

Enabled by freshly merged tokio-rs/tokio#3388.

Needed to migrate jsonrpc-* crates to Tokio 1.0 and primarily motivated by rust-lang/rls#1741 (fixes RLS build on aarch64-pc-windows-msvc by upgrading to winapi 0.3).

This is simply a re-exported from std, so no change should be observed.
Done to reduce explicit API surface used by Tokio the dependency.
Again, done to reduce explicit API surface used from Tokio
examples/server.rs Show resolved Hide resolved
src/win.rs Show resolved Hide resolved
src/win.rs Outdated Show resolved Hide resolved
src/win.rs Show resolved Hide resolved
@tomusdrw
Copy link

@NikVolf can we move the repo to paritytech organisation?

@NikVolf
Copy link
Contributor

NikVolf commented Jul 1, 2021

@NikVolf can we move the repo to paritytech organisation?

yep done

@Xanewok
Copy link
Contributor Author

Xanewok commented Jul 1, 2021

Since it looks like it's well-reviewed, I'll go ahead and merge this. Thanks!

Since we moved this repo, @NikVolf could you also please add https://crates.io/teams/github:paritytech:core-devs as the owner/publisher for https://crates.io/crates/parity-tokio-ipc?

@Xanewok Xanewok merged commit d946e3f into paritytech:master Jul 1, 2021
@Xanewok Xanewok deleted the mio-07 branch July 1, 2021 13:39
bors added a commit to rust-lang/rls that referenced this pull request Aug 24, 2021
Bump to Tokio 1.0

Closes #1695
Closes #1693

Just enabled by tokio-rs/tokio#3388.

Work in progress to prune winapi 0.2, still needs patches upstreamed that migrate `parity-tokio-ipc` and `jsonrpc-*` crates to Tokio 1.0. Let's see what CI has to say, first.

Blocked on:
- [x] paritytech/parity-tokio-ipc#32
- [x] paritytech/jsonrpc#628
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.

Replace mio-named-pipes with mio 0.7.2
3 participants