Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #8400
Closed
Open
Issue created Jan 10, 2021 by Administrator@rootContributor

[REQ] Upgrade Hyper/packages in Rust Client

Created by: andrew-s

Is your feature request related to a problem? Please describe.

The hyper package used in the rust client "rust" generator is very old, sat at version 0.11 - there was a big shift in the way it works between 0.11 and 0.12. It makes sense to upgrade this to 0.14.

Describe the solution you'd like

Upgrade the package to a newer version beyond 0.12

Describe alternatives you've considered

The alternative to not upgrading is a real pain, where my application relies heavily upon hyper so I have that package within my application - to work with an older version I'd need to import hyper 0.11 and the tokio_core packages (for the handler to connect). It was easier to just use reqwest (1 extra library vs 2) however, it would be nice to not have to use any extra packages when I already have a newer hyper on hand.

Granted, I need to make these changes because I'm changing the default configuration of apis within my application, as the Configuration struct is immutable I'm unable to change it after the fact. Ideally, configuration should be decoupled from the http client library creation but, that's probably a larger task than it is to just upgrade the packages (also unsure how other packages are built and if configuration + client is a commonality)

Assignee
Assign to
Time tracking