That being said and from what I understand Rustls is not a drop in replacement and it is not that easy for all Rust libraries which use TLS.
Which brings me to the point that I think a big leap forward for wider Rustls adoption in the Rust world itself would be to make it easily usable with all popular and widely used Rust libraries that depend on a TLS implementation.
What I would like to see is sort of a global (not per dependency)
features = ["rustls-tls"]
so that all libraries and their dependencies use Rustls automatically
and OpenSSL is completely out of the picture. I know that this is not on Rustls alone but
on the library writers too, but still it would be really cool to switch the TLS implementation
like that.Then we could even dream to make Rustls the default and use OpenSSL (or one of its relatives) only if need be.