Commit graph

46 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
63afd5d939 Bump xmpp-parsers to 0.13.
Fixes #4.
2019-03-20 19:27:10 +01:00
Astro
2654722fa3 client: switch SinkItem to Packet
this breaks backwards compatibility
2019-01-29 01:53:00 +01:00
Astro
be78f6578b Revert "client: add more state to make close() send </stream:stream>"
This reverts commit 6379f91e02.
2019-01-29 01:34:44 +01:00
Astro
6379f91e02 client: add more state to make close() send </stream:stream> 2019-01-26 23:58:54 +01:00
Astro
599e3be32e xmpp_codec, client: handle StreamEnd 2019-01-26 21:07:15 +01:00
Astro
380bd2fc02 client: implement close() to close inner stream 2019-01-26 20:46:51 +01:00
Astro
3586e5134d client: reindent 2019-01-26 19:39:05 +01:00
Emmanuel Gil Peyrot
62e9dcc022 Bump xmpp-parsers to 0.12.2.
This also removes minidom, jid and try_from as direct dependencies,
since they are now reexported by xmpp-parsers.
2019-01-16 15:26:45 +01:00
Astro
49c0f6e7a6 client: add new_with_jid() to reuse parsed Jid
Should fix Gitlab issue #2
2019-01-14 00:02:02 +01:00
Astro
a6512c2b42 auth: delint 2018-12-20 21:20:52 +01:00
Astro
78f74c6338 auth: clarify + optimize 2018-12-20 21:17:56 +01:00
Astro
11cc7f183a auth: add work-around for xmpp-parsers pickyness 2018-12-20 21:09:13 +01:00
Astro
ce039d767e restructure auth code 2018-12-20 20:39:01 +01:00
Emmanuel Gil Peyrot
51bae9b0e5 Run cargo fmt on the entire project. 2018-12-18 19:04:31 +01:00
Emmanuel Gil Peyrot
24b2ff1851 Move to edition 2018. 2018-12-18 18:29:31 +01:00
Astro
662c61b801 happy_eyeballs: enable parallel A/AAAA resolution 2018-09-08 02:12:49 +02:00
Astro
ce2ce363b0 happy_eyeballs: propagate actual connection error 2018-09-08 01:35:26 +02:00
Astro
81191041c4 improve style: flatten future 2018-09-08 01:22:15 +02:00
Astro
f4007511ea improve style 2018-09-06 23:57:42 +02:00
Astro
0b7210d597 Merge branch 'migrate-tokio' 2018-09-06 18:20:05 +02:00
Astro
e9d30f16c3 unstringify Error type 2018-09-06 17:49:42 +02:00
O01eg
d3039127dd
Move from tokio-core to tokio. 2018-09-01 22:59:02 +03:00
Astro
bacd867385 comment debug output 2018-08-03 01:21:55 +02:00
Astro
a3db744e46 client::auth: update xmpp-parsers usage 2018-08-03 01:11:55 +02:00
Astro
b82237f422 replace try! with ? syntax 2018-08-02 20:10:26 +02:00
Astro
b929a3c71e doc 2018-08-02 19:58:19 +02:00
Astro
2a17ffc624 replace parts of client::auth with xmpp-parsers 2018-08-02 18:12:41 +02:00
Astro
db81338bc6 replace parts of client::auth with xmpp-parsers 2018-08-02 01:44:48 +02:00
Astro
0155e3fdac more replacement with xmpp-parsers 2018-08-02 01:01:41 +02:00
Astro
71e2b1c84f add XMPPStream.send_stanza() convenience method 2018-08-02 00:19:06 +02:00
Astro
06b97ea228 ClientBind: replace with xmpp_parsers::bind::Bind 2018-08-02 00:00:00 +02:00
Astro
58b5a84391 client: stream.poll_complete() for ease of use 2017-08-24 20:15:14 +02:00
Astro
0743249280 migrate to minidom 0.6.0 2017-08-14 03:57:33 +02:00
Astro
993fdcab8f unify Client::Event and Component::Event into Event 2017-07-23 02:46:47 +02:00
Astro
dc5ddc73f6 client: use idna 2017-07-21 00:43:43 +02:00
Astro
7cd31bd425 delint (clippy) 2017-07-21 00:19:08 +02:00
Astro
00e2daaecd echo_bot: use xmpp-parsers to parse message 2017-07-20 01:07:07 +02:00
Astro
7b7f2866fc move stream_start out of places 2017-07-19 01:02:45 +02:00
Emmanuel Gil Peyrot
794a994720 don’t use wildcard use 2017-07-18 22:59:45 +02:00
Astro
36d7ab474e client::auth: fix base64 encoding 2017-07-18 20:04:34 +02:00
Astro
d4bd64370c switch from rustxml to minidom, doesn't work 2017-07-17 20:53:00 +02:00
Astro
e2c6a6ed37 implement SRV lookup 2017-07-13 02:56:02 +02:00
Astro
7f667041d9 more of a ClientEvent api 2017-07-13 01:47:05 +02:00
Astro
32031a239e TODO 2017-07-02 01:26:36 +02:00
Astro
3c952e47d1 impl Sink for Client + complete echo_bot 2017-07-02 01:25:22 +02:00
Astro
1e2672ba50 impl stream for client 2017-06-20 21:27:10 +02:00