Commit graph

77 commits

Author SHA1 Message Date
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
1225bf7027 prefix support DRY 2019-01-13 21:05:19 +01:00
O01eg
983078f120
Add prefix support to decoder to accept xml:lang in presence statuses. 2019-01-08 13:41:39 +03: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
3aba4e7070 Remove now-useless "extern crate"s. 2018-12-18 19:04:02 +01:00
Emmanuel Gil Peyrot
24b2ff1851 Move to edition 2018. 2018-12-18 18:29:31 +01:00
Emmanuel Gil Peyrot
4ab3890cd3 Use tokio::net::tcp::ConnectFuture directly.
This removes this warning:
```
warning: use of deprecated item 'tokio::net::ConnectFuture': use `tokio::net::tcp::ConnectFuture` instead
```
2018-10-01 12:34:33 +02:00
Astro
662c61b801 happy_eyeballs: enable parallel A/AAAA resolution 2018-09-08 02:12:49 +02:00
Astro
d3fab29d38 rm stale DomainError, add error docs 2018-09-08 01:42:23 +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
2e0dd44352 a proper ParserError type for XMPPCodec 2018-08-05 21:52:32 +02: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
0e4941dc7a rm unused dep tendril 2018-08-02 18:46:54 +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
Emmanuel Gil Peyrot
2e746f89e2 replace sha-1 with xmpp-parsers for component handshake 2018-08-01 01:08:39 +02:00
Astro
1a3707649e use tokio-codec 2018-07-31 23:34:04 +02:00
Astro
53db39f0c8 bump some deps 2018-07-31 23:19:46 +02:00
Emmanuel Gil Peyrot
772c6b56ee update dependencies 2018-02-22 20:05:41 +01:00
Emmanuel Gil Peyrot
6ac5bb99db happy_eyeballs: fix two mut warnings 2018-02-22 19:56:56 +01: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
Emmanuel Gil Peyrot
c0f3fc4afb lib: add a component connection method 2017-07-23 02:09:52 +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
8850c95155 happy_eyeballs: don't retain errored connects 2017-07-19 01:32:53 +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
68af9d2110 xmpp_codec: fix large stanzas 2017-07-18 22:12:00 +02:00
Astro
b944ca4ac7 make it work with minidom 2017-07-18 20:12:17 +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