CI is failing because rustls 0.20.7 deprecated Acceptor::new() in favor of the infallible Acceptor::default() constructor (https://github.com/rustls/rustls/pull/1046). The failure is caused because we're using Acceptor::new() in tests (not in the library) and CI denies warnings. This PR adopts default() and forces the dependency to 0.20.7, which would also force the MSRV up for the library. Alternatively, we could locally allow deprecations in the tests?
CI is failing because rustls 0.20.7 deprecated
Acceptor::new()
in favor of the infallibleAcceptor::default()
constructor (https://github.com/rustls/rustls/pull/1046). The failure is caused because we're usingAcceptor::new()
in tests (not in the library) and CI denies warnings. This PR adoptsdefault()
and forces the dependency to 0.20.7, which would also force the MSRV up for the library. Alternatively, we could locally allow deprecations in the tests?