Update xmpp-rs dep to e3a4aae42d9 with rustls fix

Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
pep 2025-05-11 21:48:50 +02:00
commit 7eb6f190b2
No known key found for this signature in database
GPG key ID: DEDA74AEECA9D0F2
2 changed files with 6 additions and 1 deletions

View file

@ -20,7 +20,7 @@ pretty_env_logger = "0.5"
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
toml = "0.8"
xmpp = { git = "https://gitlab.com/xmpp-rs/xmpp-rs", rev = "51ce661f8d", default-features = false, features = [ "serde", "starttls-native" ] }
xmpp = { git = "https://gitlab.com/xmpp-rs/xmpp-rs", rev = "e3a4aae42d9", default-features = false, features = [ "serde", "starttls", "rustls-native-certs", "aws_lc_rs" ] }
hmac = "0.12"
sha2 = "0.10"
hex = "0.4"

View file

@ -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")