Currently the only TLS implementation exposed by mithril-client is OpenSSL dynamically linked to a system library.
It is common for projects to require either OpenSSL to be vendored, OR to use Rustls as an alternative.
The underlying reqwest library allows all these options.
The consumer of mithril-client should have the same options.
What
Adding features to allow a consumer of the mithril-client to choose the OpenSSL implementation used by it.
Why
Currently the only TLS implementation exposed by
mithril-client
is OpenSSL dynamically linked to a system library. It is common for projects to require either OpenSSL to be vendored, OR to use Rustls as an alternative.The underlying
reqwest
library allows all these options. The consumer ofmithril-client
should have the same options.What
Adding features to allow a consumer of the
mithril-client
to choose the OpenSSL implementation used by it.