RUST_LOG=debug can now be used in tokio-xmpp examples to see XMPP network traffic

This commit is contained in:
xmppftw xmppftw 2023-06-05 13:06:52 +02:00 committed by pep
commit 3ac741d666
7 changed files with 16 additions and 1 deletions

View file

@ -11,6 +11,8 @@ use xmpp_parsers::{BareJid, Element, Jid};
#[tokio::main]
async fn main() {
env_logger::init();
let args: Vec<String> = args().collect();
if args.len() != 3 {
println!("Usage: {} <jid> <password>", args[0]);