automatic cargo CI changes

This commit is contained in:
PlexSheep 2024-02-09 17:42:45 +00:00 committed by github-actions[bot]
parent 1e722a56ad
commit e859dd3f95
1 changed files with 6 additions and 2 deletions

View File

@ -11,7 +11,9 @@ use tokio::{
net::TcpStream,
};
use tokio_rustls::{
rustls::{self, pki_types}, TlsConnector, client::TlsStream
client::TlsStream,
rustls::{self, pki_types},
TlsConnector,
};
use webpki_roots;
@ -45,7 +47,9 @@ impl Client {
return Err(err.into());
}
};
let stream = connector.connect(domain.clone(), TcpStream::connect(&cfg.addr).await?).await?;
let stream = connector
.connect(domain.clone(), TcpStream::connect(&cfg.addr).await?)
.await?;
Ok(Client {
cfg: cfg.clone(),