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