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

Rust support #192

Closed
lcmartinsfilho opened this issue Mar 3, 2020 · 3 comments
Closed

Rust support #192

lcmartinsfilho opened this issue Mar 3, 2020 · 3 comments
Assignees
Labels
codegen feature Feature request new-language-support Request for a new language to be added in the list

Comments

@lcmartinsfilho
Copy link

lcmartinsfilho commented Mar 3, 2020

Is your feature request related to a problem? Please describe.
Rust is growing fast and gaining acceptance. Postman lacks Rust examples.

Describe the solution you'd like
New code generators in Rust, using Actix, Warp and/or Rocket crates.

Additional context
https://github.com/actix/actix
https://github.com/seanmonstar/warp
https://github.com/SergioBenitez/Rocket/tree/v0.4

@umeshp7 umeshp7 added feature Feature request new-language-support Request for a new language to be added in the list labels Oct 21, 2020
@mwilliammyers
Copy link

At the risk of starting a flame-war...

The HTTP client crates in order of most downloads on https://crates.io are:

  1. reqwest
  2. curl
  3. awc
  4. isahc
  5. atohttpc
  6. ureq
  7. surf

I however, humbly think that reqwest, surf, and curl should be top priority (in that order), because they represent the two main async ecosystems: tokio and async-std, as well as good 'ol libcurl.

Bonus: hyper, which is an HTTP library (which reqwest and others are built on), not just an HTTP client.

Additional (semi related) context:

@dhwaneetbhatt
Copy link
Contributor

Support for Rust's reqwest library is in the works and should be landing in a future version.

@dhwaneetbhatt
Copy link
Contributor

We've added support for generating Rust code snippets using reqwest library in the latest version (v10.13) of Postman. Please feel free to try out this feature. Please feel free to provide feedback and contribute directly via issues/PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codegen feature Feature request new-language-support Request for a new language to be added in the list
Projects
None yet
Development

No branches or pull requests

5 participants