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

apiserver: update to actix 2.0 #806

Merged
merged 6 commits into from
Mar 2, 2020
Merged

apiserver: update to actix 2.0 #806

merged 6 commits into from
Mar 2, 2020

Conversation

tjkirch
Copy link
Contributor

@tjkirch tjkirch commented Feb 28, 2020

Description of changes:

I'm working on updating all of our dependencies, and this one is a bigger change than most, so I split it out. actix went async in 2.0, so we had some code changes here to accommodate. Nothing that impacts our logic, just some infectious "async" and "await" keywords, and a couple function signature changes.

Testing done:

Unit tests pass. Ran the apiserver and (not-updated) apiclient locally. Checked settings, PATCHed settings in a named transaction, committed them, saw updated settings.

@tjkirch tjkirch requested a review from iliana February 28, 2020 20:46
@tjkirch
Copy link
Contributor Author

tjkirch commented Mar 2, 2020

Rebase on develop, to get #805 so dependencies of removed code don't come into play.

tjkirch and others added 5 commits March 2, 2020 10:02
hyperlocal hasn't been updated to use the new hyper, so we switch to
hyper-unix-connector, which is essentially the same thing.
This is a `cargo update`, followed by updating dependencies found through
`cargo outdated -w` and removing unused dependencies found by
`cargo +nightly udeps --workspace`.

The manual updates are:
* nix to 0.17; no important changes
* http to 0.2; no important changes
* reqwest to 0.10; we now use the 'blocking' module since we only use reqwest synchronously
* gptman to 0.6.1; no important changes
apiclient: update to use new futures, hyper, and tokio
@tjkirch tjkirch merged commit 994bccf into develop Mar 2, 2020
@tjkirch tjkirch deleted the actix-update branch March 2, 2020 19:04
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

3 participants