Addresses an issue I encountered trying to use the client and server examples in standalone projects:
the trait From<Arc<rustls::ServerConfig>> is not implemented for TlsAcceptor
the trait From<Arc<rustls::ClientConfig>> is not implemented for TlsConnector
These modifications ensure that the code uses rustls types re-exported by tokio-rustls when compiled in a context outside of the library.
Addresses an issue I encountered trying to use the client and server examples in standalone projects:
These modifications ensure that the code uses
rustls
types re-exported bytokio-rustls
when compiled in a context outside of the library.