pact-foundation / pact-reference

Reference implementations for the pact specifications
https://pact.io
MIT License
91 stars 46 forks source link

Upgrade Hyper and Rustls in Pact Rust mock server #414

Open rholshausen opened 1 month ago

rholshausen commented 1 month ago

Current Hyper is locked to 0.14.x, Rustls to 0.24.x and tokio-rustls to 0.24.x. To upgrade the TLS crates seems to need Hyper to be upgraded to 1.0+.

The current mock server implementation was written in 2017-2019, and contains some esoteric TLS code that may be more complex to upgrade to Hyper 1.0 than to rewrite it using newer Hyper 1.0 constructs.

Upgrading to Hyper 1.0 will also give the following benefits:

A suggestion is to split this component out into it's own repository, so that we can easily support a 1.0.x version as well as a 2.0.x version using branches.

github-actions[bot] commented 1 month ago

🤖 Great news! We've labeled this issue as smartbear-supported and created a tracking ticket in PactFlow's Jira (PACT-1973). We'll keep work public and post updates here. Meanwhile, feel free to check out our docs. Thanks for your patience!