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

Migrate from tokio 0.1 to tokio 1 #101

Open
str4d opened this issue Jan 30, 2023 · 1 comment
Open

Migrate from tokio 0.1 to tokio 1 #101

str4d opened this issue Jan 30, 2023 · 1 comment

Comments

@str4d
Copy link
Owner

str4d commented Jan 30, 2023

This is going to be absolutely hellish. I started ire in 2017 as a way to learn Rust, and decided the best way to do that was to dive head-first into 2017-era async Rust. Things have changed... a bit... since then.

@bheesham
Copy link

I tried a naive approach (incremental upgrade of tokio and futures) and there's a lot of changes.

See: https://github.com/bheesham/ire/tree/upgrade-tokio-and-friends

My changes primarily address some import changes, but there's a lot stuff like Future changed so it no longer has an Item and Error, etc (as can be seen in this gist).

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

No branches or pull requests

2 participants