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
[Rust][Server] Upgrade hyper from 0.13 to 0.14, swagger-rs and tokio #11041
Conversation
Sorry, tagged the wrong people for the technical committee. TC for Rust: |
...les/openapi-generator/src/test/java/org/openapitools/codegen/java/JavaClientCodegenTest.java
Outdated
Show resolved
Hide resolved
The rust-server (petstore) tests failed:
Ref: https://app.travis-ci.com/github/OpenAPITools/openapi-generator/builds/243628797 Can you please take a look when you've time? To run the test locally, please execute You will need to run the petstore server locally: https://github.com/OpenAPITools/openapi-generator/wiki/Integration-Tests#how-to-add-integration-tests-for-new-petstore-samples |
@Foorack am I doing anything wrong with my test? Are you able to repeat the issue locally? We plan to release v6.0.0 (next major version) next month so it would be nice to include this change. Let me know if you need any help. |
Also when you've time, can you please PM me via Slack? https://join.slack.com/t/openapi-generator/shared_invite/zt-12jxxd7p2-XUeQM~4pzsU9x~eGLQqX2g |
I will have time to look at this issue this weekend. Currently very busy with work on weekdays.
No. I think I am already in there, but the fact that I don't know tells how much I use it. I don't have time to follow and sort the noise coming from a chat platform like Slack. I am already in too many other platforms, and they steal enough of time. 🙂 I would very much prefer keeping the discussion here on GitHub. If I have done something wrong then I am very appreciative of feedback and criticism. If it is something which still cannot be published publicly then I am accessible via email. |
Hi @Foorack, I think there are couple more cross dependent packages that need version bumps (maybe the cause of of the issue @wing328 mentioned):
|
Closed via #11873 |
This upgrades
rust-server
's following dependencies:hyper
from 0.13 to 0.14swagger-rs
from 5.0.2 to 6.1.0tokio
from 0.2 to 1.14These upgrades are done in combination because they are cross-dependent upon each other, for example hyper depends on tokio 1.0 or higher.
Rust samples has bee regenerated.
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*
.For Windows users, please run the script in Git BASH.
master
(5.3.0),6.0.x