RUST_LOG=debug can now be used in tokio-xmpp examples to see XMPP network traffic
This commit is contained in:
parent
ae67949e7a
commit
3ac741d666
7 changed files with 16 additions and 1 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue