NGINX Unit - universal web app server - a lightweight and versatile open source server that simplifies the application stack by natively executing application code across eight different programming language runtimes.
The Bollard library we use to integrate with docker leverages Hyper v1.
The OpenAPI client code we have (both unit-openapi and in unit-client-sdk) leverages Hyper v0.
We currently include both at build time, which leads to more space used and longer builds.
Regrettably for NOW we do need both versions. The good news is that the last version of v0 is fairly recent and I get the impression it is still being supported inline with v1. We should make it a priority to migrate to the newest version of Hyper when the openapi generator supports it. In the meantime we will have some extra build dependencies.
The Bollard library we use to integrate with docker leverages Hyper v1. The OpenAPI client code we have (both unit-openapi and in unit-client-sdk) leverages Hyper v0. We currently include both at build time, which leads to more space used and longer builds.
From https://github.com/nginx/unit/pull/1241:
Further reading: https://hyper.rs/guides/1/upgrading/
NOTE: We are currently blocked on waiting for the OpenAPI generator to support the latest Hyper: https://github.com/OpenAPITools/openapi-generator/issues/17876