Skip to content

[Rust] Allow to choose client library between hyper and reqwest #8803

@bcourtine

Description

@bcourtine
Description

Rust client codegen uses hyper library. This library is "low-level", and requires some tunning (to deal with https, for example).
Reqwest alternative https://github.com/seanmonstar/reqwest (which uses hyper under the hood), seems to be a good alternative.

Swagger-codegen version

master

Swagger declaration file content or url

Not applicable

Command line used for generation

Not applicable

Steps to reproduce

Not applicable

Related issues/PRs

Not found

Suggest a fix/enhancement

PR in preparation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions