Update xmpp-rs dep to e3a4aae42d9 with rustls fix
Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
parent
c98c61daa1
commit
7eb6f190b2
2 changed files with 6 additions and 1 deletions
|
|
@ -34,11 +34,16 @@ use hyper::{server::conn::http1, service::service_fn};
|
|||
use hyper_util::rt::tokio::{TokioIo, TokioTimer};
|
||||
use log::error;
|
||||
use tokio::{net::TcpListener, signal::ctrl_c, sync::mpsc};
|
||||
use xmpp::tokio_xmpp::rustls;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Error> {
|
||||
pretty_env_logger::init();
|
||||
|
||||
rustls::crypto::aws_lc_rs::default_provider()
|
||||
.install_default()
|
||||
.expect("Failed to install rustls crypto provider");
|
||||
|
||||
let matches = command!()
|
||||
.arg(
|
||||
Arg::new("config")
|
||||
|
|
|
|||
Loading…
Reference in a new issue