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.x, futures 0.3, Hyper 0.14, etc #459

Merged
merged 9 commits into from
Jul 28, 2021
Merged

Conversation

LPGhatguy
Copy link
Contributor

This has been a long time coming.

Rojo's HTTP code pre-dates Rust's support for async/await. We can simplify the code a lot by switching to async/await and dropping a lot of the long-winded Hyper code that I wrote originally.

That's what this PR does!

Everything should be functionally the same. I've tested it manually a little bit and of course our automated end-to-end tests still pass.

@LPGhatguy LPGhatguy merged commit 5d62bf9 into master Jul 28, 2021
@LPGhatguy LPGhatguy deleted the async-upgrade branch July 28, 2021 16:29
Dekkonot pushed a commit to UpliftGames/rojo that referenced this pull request Jan 11, 2024
* Upgrade dependencies, oneshot channel ref

* New service style?

* Fix warning

* A server is running again

* Working server with async blocks

* UI working again

* Finish upgrade

* Bump MSRV to 1.46.0 for if/match in const fn

* Update the README as part of this
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.

1 participant