Commit Graph

16 Commits

Author SHA1 Message Date
pteromys
b643665354 Add env_logger to ease troubleshooting.
Apparently I had an empty /etc/resolv.conf on one host due to systemd
growing pains, which I only discovered by adding the logger and seeing

> [2021-12-31T20:22:01Z WARN  trust_dns_resolver::system_conf::unix] no nameservers found in config

Without env_logger, the only output I had was an unhelpful

> could not connect to xmpp server

and changing die() to unwrap() only narrowed it down slightly to

> Connection(Resolve(ResolveError { kind: Message("No connections available") }))

One can set the environment variable RUST_LOG=debug for more verbosity.
Under the default setting it seems to be silent if nothing goes wrong.
2021-12-31 16:01:04 -05:00
d2ee6168fb Add --raw option to support sending a stream of raw XML
Some checks failed
moparisthebest/sendxmpp-rs/pipeline/head There was a failure building this commit
2021-03-23 21:17:00 -04:00
062571c3a4 Version 2.0.0 as released on crates.io
Some checks failed
moparisthebest/sendxmpp-rs/pipeline/head There was a failure building this commit
2021-01-16 02:06:05 -05:00
b86c277c8b Add some better PGP header stripping code
Some checks failed
moparisthebest/sendxmpp-rs/pipeline/head There was a failure building this commit
2021-01-15 02:08:42 -05:00
209a0ae2a3 Version 2.0.0, with added XEP-0027 PGP support
Some checks failed
moparisthebest/sendxmpp-rs/pipeline/head There was a failure building this commit
2021-01-15 01:05:15 -05:00
d12a548793 Upgrade deps, specifically tokio-xmpp 3.0.0 2021-01-14 23:34:52 -05:00
5a71229c50 Implement jenkins builds
Some checks failed
moparisthebest/sendxmpp-rs/pipeline/head There was a failure building this commit
2020-11-30 21:18:13 -05:00
37b5efd4b6 Switch unwrap/expect to use die crate for proper messages and error codes 2019-03-02 13:19:48 -05:00
12ea8c5531 Close xmpp stream properly 2019-01-31 22:14:35 -05:00
ccda047af7 Delete xmpp-rs submodule 2019-01-25 22:09:15 -05:00
be37b512a5 rewrite using tokio-xmpp 2019-01-25 21:56:50 -05:00
96278a310e Include patched xmpp-rs 2019-01-25 20:14:43 -05:00
65a14e2fa6 update Cargo.lock, builds with patched xmpp-rs 2019-01-25 20:07:36 -05:00
9b0fb500ee Depend on local file for cargo 2017-08-13 00:13:08 -04:00
5112be68a9 Tweaks and cleanup 2017-08-12 23:59:43 -04:00
e72fbf5f75 Initial commit 2017-08-11 00:37:50 -04:00