-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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] Client library choice between hyper and reqwest #1258
Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
ef0a2a2
Port of PR https://github.com/swagger-api/swagger-codegen/pull/8804.
bcourtine aac88a5
Correction of conflict with PR #528 (missing template file).
bcourtine a347327
Add rust-reqwest samples to Circle CI tests.
bcourtine 7b4dfc2
Add integration test pom.xml file with launcher to trigger cargo exec…
bcourtine e7c99c5
Deduplicate Maven project name.
bcourtine 3c7c52a
Fix "api_key" header for Petstore.
bcourtine 0ef969d
Better API key management.
bcourtine a1c865c
Fix query param for lists of objects other than strings (numbers, etc.).
bcourtine e5f514a
Update to reqwest 0.9, and refactor of header management (using reqwe…
bcourtine 970f996
Merge scripts generating rust-hyper and rust-reqwest samples.
bcourtine 556231e
Consistent full stops.
bcourtine 457ff19
Use raw variables in all Rust mustache templates.
bcourtine 9327601
Replace production build in CI with a quick simple check.
bcourtine 0b1f506
Update samples.
bcourtine 0eff82b
Finish Reqwest 0.9 migration (removing "hyper 0.11" transition feature).
bcourtine 595a4fc
Configuration implements Default trait.
bcourtine 4208034
API template reorganized: HashMap is not required anymore.
bcourtine e13b3e1
Revert "Merge scripts generating rust-hyper and rust-reqwest samples."
bcourtine 605f950
Remove deprecated "-XX:MaxPermSize" java arg.
bcourtine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
For bonus points, you could use
into_iter
instead ofiter
. As I understand it,iter
produces references top
, andto_string
will therefore clonep
.into_iter
would give you an ownedp
, and thusto_string
would not clone..